Strange math behaviour... could someone explain this ?

Lynch, Jonathan bnz2 at cdc.gov
Fri Oct 7 14:20:06 EDT 2005


>It's NOT a Rev bug - it's an artifact of double precision binary
arithmetic >(or, if you like, an artifact of the IEEE format used by
Intel (and >everyone else)).

Alex, your explanation makes perfect sense, and I accept that it is not
a Rev bug.

But...

I still don't like it, though.


This affects both the trunc and round functions. Are there any others
that are affected by this?




More information about the use-livecode mailing list