[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LUA4.0 : Bug with maths
- From: Reuben Thomas <rrt@...>
- Date: Sun, 10 Feb 2002 13:02:15 +0000
> $ 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)