I have a numpy.float64 object, lets call it A of value '1.0' that is generated from a program that I am using, and I checked its type
And I create object B using numpy.float64(1.0)
when I subtract the two, I strangely get this value: -2.22044604925e-16 when I actually expect a value of 0
Now when I subtract A from A I get 0
I am not sure what is going on and why I don't get a value of 0, any pointers?