D
DirkS
Hello all,
Performing the following substraction on my Psion Workabout pro, which
should be zero, I get a very small negative value!
110.10 - 60.10 - 49.99 - 0.01 = 0 (This is what it's supposed to be)
At first the result seemed 0, but when I multiplied it with
10.000.000.000 I got -9.095155...
All these above values are double values which were read as a string
from a file and convert to a double.
The individual values do not show any strange behaviour (even after
multiplying them with 10.000.000.000). The strange behaviour shows
after the substraction.
Is this behaviour due to my processor type (Intel XScale-PXA2) , or any
bug in the CF or in something else I haven't thought of?
Performing the following substraction on my Psion Workabout pro, which
should be zero, I get a very small negative value!
110.10 - 60.10 - 49.99 - 0.01 = 0 (This is what it's supposed to be)
At first the result seemed 0, but when I multiplied it with
10.000.000.000 I got -9.095155...
All these above values are double values which were read as a string
from a file and convert to a double.
The individual values do not show any strange behaviour (even after
multiplying them with 10.000.000.000). The strange behaviour shows
after the substraction.
Is this behaviour due to my processor type (Intel XScale-PXA2) , or any
bug in the CF or in something else I haven't thought of?