lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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.

-- Roberto