lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Jul 6, 2013 at 12:07 PM, Jose Torre-Bueno <jtorrebueno@cox.net> wrote:
> I am not understanding what is wrong with using nan as a place holder

> n1=0/0
> n2=0/0
> print (n1, n2, n1==n2, n1==n1)
-nan    -nan    false   false

how do you use a placeholder that can't be equal to anything, not even
to itself?


--
Javier