On Sep 17, 4:26 pm, "Johan Compagner" <[EMAIL PROTECTED]> wrote:
> thats how floating points works..
>

I don't agree. If I do the same computation in Java I get -58 as the
result.

Inaccuracies only occur in Floating Point calculations when the number
of digits is high. Here we are only dealing with 2 significant digits
which easily fits within a 64-bit floating point binary number.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to