|
On 13/04/2012 20.22, Roberto Ierusalimschy wrote:
Maybe it would be a little more "elegant" to use some macros to abstract the tests, and then add those 'ifdefs' around the macros.
Making Lua integer-only seems to be getting more complex.Considering that many embedded systems (and some low-end game consoles) do not offer hardware floating-point operations, maybe it could be useful in a future Lua release to have an 'official' (therefore well-tested) compilation switch.
-- Enrico