what are the precision limitation of floating data types?
Hoot! You just asked your first question! Hang tight while I find people to answer it for you. You can thank people who give you good answers by clicking the 'Good Answer' button on the right!
It depends on the limit of OS and Hardware .If it is 32 bit system in python ,it could be sys.float_info(max=1.7976931348623157e+308, max_exp=1024, max_10_exp=308, min=2.2250738585072014e-308, min_exp=-1021, min_10_exp=-307, dig=15, mant_dig=53, epsilon=2.220446049250313e-16, radix=2, rounds=1) So it will depend on Language too. . . If you wonder how i got the ans ,below is the code import os print os.sys.float_info save the file in somefile.py (py is important) and run python filename in terminal(Linux) http://docs.python.org/tutorial/floatingpoint.html
Join our real-time social learning platform and learn together with your friends!