[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (alpha) now available
- From: Florian Weimer <fw@...>
- Date: Sat, 04 Dec 2010 13:27:22 +0100
* Roberto Ierusalimschy:
> 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.
Do the relevant MSVC versions support ldexp? Is implementing a parser
based on this function really that difficult? All those little
rounding oddities don't apply with hexadecimal literals, after all.