[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (alpha) now available
- From: KHMan <keinhong@...>
- Date: Sat, 04 Dec 2010 01:09:40 +0800
On 12/4/2010 12:50 AM, Roberto Ierusalimschy wrote:
Uh, feedback. Woof woof. The manual seems to have missed mentioning
hex floating-point literals in Section 3.1.
Unfortunately, hex floating-point literals are handled by 'strtod',
and 'strtod' supports them only in C99, while Lua assumes a C89
compiler. Specifically, Microsoft's 'strtod' does not support them :(
So, hex floating-point literals is a kind of "bonus" feature that
you get when using a C99 compiler.
Yes, obviously it'll depend on the platform. Nothing we can do
IMHO if it's enabled in the lexer, it deserves to be mentioned.
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia