Pablo Valle <[EMAIL PROTECTED]> wrote:
> [...snip... 0.999999 - 1 ...] will give a result of
> -9.999999998067111E-7
> ...and we all know that the answer is -0.0000010000000000

You do realise that

  |-9.999999998067111E-7 - -0.0000010000000000| = 1.932889E-16 < really small

and that that's about all the accuracy you should expect, right?

You have read "What every computer scientist should know about floating
point", right?

    John    "trolled again"

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to