0

I'm do not understand why 1.1 + 2.2 is not 3.3 if a computer calculates this. I am trying to understand the working of binairy floating points.. but I am not even sure of that float the cause is. could you explain this to me?, I have not been able to find a clear explanation.

Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>> 
>>> 1.1+2.2
3.3000000000000003
>>> 
4

0 回答 0