lua-users home
lua-l archive

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

2015-05-13 2:55 GMT+02:00 Milind Gupta <>:
> On Tue, May 12, 2015 at 5:51 PM, Coda Highland <> wrote:
>> Lua stores floats in their native format. There is no difference
>> between a C 1.#INF00 and a Lua inf.
> Yes I was already assuming that. I meant was that printf displays 1.#INF00
> while lua print displays inf.

My C version (gcc version 4.8.2) displays inf with print format "%.e".
What compiler and print format do you use?