Keep in mind that they are stored as binary fractions )时,请记住,它们作为二进位分式存储。
This means they cannot hold an exact representation of any quantity that is not a binary fraction of the form 这就意味着,对于任何非二进位分式(形式为
Double , its value for 0 . 2 is an infinitely repeating binary fraction with a stored value of 0 . 20000000000000001 ,因此,它表示的0 . 2这个值是一个无限重复的二进位分式(存储的值是0 . 20000000000000001 ) 。