[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Bit manipulation functions (was: More on environments and objects)
- From: Mike Pall <mikelu-0508@...>
- Date: Sat, 27 Aug 2005 20:09:29 +0200
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.