python 警惕 IEEE 754标准

双精度浮点数格式,即IEEE 754标准

>>> 0.1+0.2
0.30000000000000004
>>> (0.1+0.2)==0.3
False
>>> 
原文地址:https://www.cnblogs.com/sea-stream/p/10741022.html