lua-users home
lua-l archive

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


> $ lua
> Lua 4.0  Copyright (C) 1994-2000 TeCGraf, PUC-Rio
> > a = "nan"; a = tonumber(a);
> > b = "nan"; b = tonumber(b)
> > c = a<=b;
> > print (c);
> 1
> >
> 
> Hmmmm. Don't think so.
> Think this "only need 'lt' thing is wrong".

Indeed, as I pointed out earlier, giving only lt doesn't work for
partial orders. You need 'le' instead (or as well).

-- 
http://sc3d.org/rrt/ | free, a.  already paid for (Peyton Jones)