lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: simple question about NaN and FP exceptions
From
: Paul Hudson <phudson@
...
>
Date
: Wed, 23 Feb 2011 16:45:32 +0000
On 23 February 2011 16:29, Axel Kittenberger
<
axkibe@gmail.com
>
wrote:
local v = 1 / 0
if v then
print("it is true!")
else
print("it is false!")
end
what should it do?
"It is undefined!" ? Of course, adding three-way logic to Lua may have _some_ impact on existing code :)
References
:
simple question about NaN and FP exceptions
,
Francesco Abbate
Re: simple question about NaN and FP exceptions
,
Dirk Laurie
Re: simple question about NaN and FP exceptions
,
Axel Kittenberger
Re: simple question about NaN and FP exceptions
,
Steve Litt
Re: simple question about NaN and FP exceptions
,
Dirk Laurie
Re: simple question about NaN and FP exceptions
,
Renato Maia
Re: simple question about NaN and FP exceptions
,
Chris Babcock
Re: simple question about NaN and FP exceptions
,
Axel Kittenberger
Prev by Date:
Re: CGI.lua - A native CGI Interface
Next by Date:
Re: simple question about NaN and FP exceptions
Previous by thread:
Re: simple question about NaN and FP exceptions
Next by thread:
Re: simple question about NaN and FP exceptions
Index(es):
Date
Thread