Question
Asked By – kravemir
Are there data types with better precision than float?
Now we will see solution for issue: Double precision floating values in Python?
Answer
- Unlike hardware based binary floating point, the decimal module has a user alterable precision (defaulting to 28 places) which can be as large as needed for a given problem.
If you are pressed by performance issuses, have a look at GMPY
This question is answered By – Jacob
This answer is collected from stackoverflow and reviewed by FixPython community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0