lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > I have found a disturbing behaviour in the VM regarding floating point 
> > calculations.
> > 
> > [...]
> > 
> > Is it a bug in the 5.1.2 release?
> 
> No, it's not a bug. 1000.2 cannot be represented exactly in floating point.
> Please read http://lua-users.org/wiki/FloatingPoint .

It is worth repeating:
 
  Please read http://lua-users.org/wiki/FloatingPoint .

(Completely off topic: sorry to ask, but what is the relationship
between "Jason" and "Luis Santos"?)

-- Roberto