lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Infinity as index
From
: Aapo Talvensaari <aapo.talvensaari@
...
>
Date
: Wed, 23 Apr 2014 23:53:57 +0300
> return 0/0
-nan
It's rather interesting that not-a-number is a number:
if type(0/0) == "number" then
print("not-a-number is a number")
end
Follow-Ups
:
Re: Infinity as index
,
Coroutines
References
:
Infinity as index
,
Lukas Prokop
Prev by Date:
Re: mathlib
Next by Date:
Re: Infinity as index
Previous by thread:
Re: Infinity as index
Next by thread:
Re: Infinity as index
Index(es):
Date
Thread