On Fri, 22 Jun 2007 04:40:29 +0900, "juan pedro merio" <juapdiaz / gmail.com> wrote:
> You are rigth James, but you can better reponse why is a floating point
> error?

Not all numbers can be represented by an arbitrarily small number of digits, and floating-point numbers only have so many digits available (for Ruby, 53 binary digits, which is about 16 decimal digits).  In this case, the computation required more than 53 bits, so the result was approximate.

-mental