Re: Lua 5.2 string formatting check fails when using integers
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua 5.2 string formatting check fails when using integers
- From: Enrico Colombini <erix@...>
- Date: 2012年4月13日 20:53:50 +0200
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