[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: integer overflow vs float overflow
- From: Dirk Laurie <dirk.laurie@...>
- Date: Wed, 13 May 2015 08:32:36 +0200
2015-05-13 2:55 GMT+02:00 Milind Gupta <firstname.lastname@example.org>:
> On Tue, May 12, 2015 at 5:51 PM, Coda Highland <email@example.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?