Python math is off by .000000000000045 (original) (raw)
Tobiah toby at tobiah.org
Sat Feb 25 12:56:49 EST 2012
- Previous message (by thread): Python math is off by .000000000000045
- Next message (by thread): Python math is off by .000000000000045
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
For every floating point number there is a corresponding real number, but 0% of real numbers can be represented exactly by floating point numbers.
It seems to me that there are a great many real numbers that can be represented exactly by floating point numbers. The number 1 is an example.
I suppose that if you divide that count by the infinite count of all real numbers, you could argue that the result is 0%.
- Previous message (by thread): Python math is off by .000000000000045
- Next message (by thread): Python math is off by .000000000000045
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]