In Python, changing the order of float addition changes the output value. How?

前端 未结 0 1618
时光说笑
时光说笑 2020-12-23 19:22

I am working on some floating point addition in Python, i found this difference, changing the order of addition changes the value.

v2=2.932026860135167
v3=-2.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题