Message74418
FWIW, what you're seeing is related to "representation error" not "poor
precision". The numbers 2.3, 6.3, and 8.6 cannot be exactly represented
in binary floating point. When you think about it, this is no more
surprising than knowing the fractions 1/3 and 2/3 cannot be exactly
represented in either decimal or binary floating point. |
|
Date |
User |
Action |
Args |
2008-10-07 01:54:32 | rhettinger | set | recipients:
+ rhettinger, vstinner, benjamin.peterson, mhmtyozcu001 |
2008-10-07 01:54:32 | rhettinger | set | messageid: <1223344472.75.0.390968967279.issue4061@psf.upfronthosting.co.za> |
2008-10-07 01:54:32 | rhettinger | link | issue4061 messages |
2008-10-07 01:54:31 | rhettinger | create | |
|