This math scares me

William Park parkw at better.net
Mon Mar 12 17:03:56 EST 2001


On Mon, Mar 12, 2001 at 09:34:58PM +0000, costas at springmail.com wrote:
> Ok, I can see maybe division having problems. But why does addition of
> the two numbers below:
> 
> 5.01+5.54
> 
> give me this?
> 
> 10.550000000000001

It's called 'Round-off error'.

---William Park, Open Geometry Consulting, Linux/Python, 8 CPUs.




More information about the Python-list mailing list