J
Jonathan Shan
Hello,
I'm experiencing a problem where the float being appended to the array
is not the same as the result of the appending.
I'm expecting x[0] = 0.10000000000000001
Thanks
Jonathan Shan
I'm experiencing a problem where the float being appended to the array
is not the same as the result of the appending.
0.10000000000000001from array import *
x = array('f')
x.append(float("0.1"))
x[0] 0.10000000149011612
float("0.1")
I'm expecting x[0] = 0.10000000000000001
Thanks
Jonathan Shan