General discussion about LÖVE, Lua, game development, puns, and unicorns.
LuaWeaver
Party member
Posts: 183 Joined: Wed Mar 02, 2011 11:15 pm
Location: Ohio, USA
Post
by LuaWeaver » Fri Jul 12, 2013 6:21 am
Well, this happened.
That errors, of course:
>'for' limit must be a number
So I go and do this:
That doesn't error! Now, go:
nan is not a number, so why is for letting me use it as a limit?
"your actions cause me to infer your ego is the size of three houses" -finley
raidho36
Party member
Posts: 2063 Joined: Mon Jun 17, 2013 12:00 pm
Post
by raidho36 » Fri Jul 12, 2013 2:32 pm
Reminds me of:
> issue #666: LÖVE crashes when I try to crash it.
T-Bone
Inner party member
Posts: 1492 Joined: Thu Jun 09, 2011 9:03 am
Post
by T-Bone » Fri Jul 12, 2013 6:52 pm
I've never thought of this before. It's kind of like Wine except even more obvious
Xgoff
Party member
Posts: 211 Joined: Fri Nov 19, 2010 4:20 am
Post
by Xgoff » Fri Jul 12, 2013 6:57 pm
ieee probably should have called it something else, like "not representable" or something
reminds me of a past thread on the lua mailing list where someone suggested lua expressions that would have resulted in nan should return nil instead, because "not a number". NOPE.
Users browsing this forum: No registered users and 2 guests