[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: tostring vs. nan, inf
- From: David Manura <dm.lua@...>
- Date: Tue, 10 Apr 2012 01:18:47 -0400
On Tue, Apr 10, 2012 at 12:54 AM, Alexander Gladysh <agladysh@gmail.com> wrote:
>[ ...] Lua can not read back:
>> return tostring(1/0)
>inf
Unfortunately, not only can it not be read back, but what that prints
is also compiler dependent [1].
[1] http://wiki.apache.org/stdcxx/FloatingPoint