0

I know that you can do integer calculation in Python with astronomically large numbers. What is the precision limit when using floats?

2
Contributors
1
Reply
2
Views
11 Years
Discussion Span
Last Post by vegaseat
0

Python's floating point precision is that of a double in C (about 16 digits). For higher precision you can use the Python module decimal.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.