[0.0,0.7,0.2,0.1]之和不等于1

时间:2014-09-08 11:33:37

标签: python numpy

一些0.7,0.2,0.1

sum([0.0,0.7,0.2,0.1])=0.99999999999999

为什么会这样?

0 个答案:

没有答案