lua-users home
lua-l archive

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


Hi,

Rici Lake wrote:
> Note that if you were using single precision floats for lua_Numbers, 
> you would have 23 bits, not 32, or put another way, your Lua programs 
> would mysteriously fail when the bit index was too high.

Yeah, but a + b may give mysterious results, too (with any
definition of lua_Number). It just happens so that doubles
meet our expectations more often.

Bye,
     Mike