FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

return value of false

 
Post new topic   Reply to topic     Forum Index -> MiniD
View previous topic :: View next topic  
Author Message
webwraith



Joined: 19 Mar 2009
Posts: 5
Location: Lavenham, near Ipswich, Suffolk, UK

PostPosted: Sat Mar 28, 2009 4:22 am    Post subject: return value of false Reply with quote

Just wondering: I was going through the language docs, and noticed that floating point NaN isn't listed as being treated as null when dealing with conditionals. Is this correct?
Back to top
View user's profile Send private message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Sat Mar 28, 2009 7:09 pm    Post subject: Reply with quote

I'll admit I haven't paid much attention to NaNs. I'd imagine they don't come up that often in normal computation. What would be the benefits of NaNs evaluating to false?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group