|
2015-05-13 2:55 GMT+02:00 Milind Gupta <milind.gupta@gmail.com>:
> On Tue, May 12, 2015 at 5:51 PM, Coda Highland <chighland@gmail.com> 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?