Jump to content

NaN constant


Recommended Posts

I have had a need to make an array of NaNs several times and would think that this might be a useful addition to the math constants already there. It makes it easier to do checking to seem how many elements were actually assigned values at least once via the isNaN operator.

Just get a numeric constant and type NaN inside.

(Curses! Foiled by Shaun again!) Don't you have a job? :lol:

Edited by PaulG.
Link to comment

Its one of those slow days where I'm the only one left in the office (the rest are in Austin)... At least this way I can feel somewhat productive :P

I've been abandoned at work while other LV elites went to Austin a few times as well. :( But I sure got a lot more done without all the interruptions. :)

Link to comment
I have had a need to make an array of NaNs several times and would think that this might be a useful addition to the math constants already there. It makes it easier to do checking to seem how many elements were actually assigned values at least once via the isNaN operator.

Obviously others have shown how to make a NaN constant, but I agree that it should be in the constants palette. Please make the suggestion here.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.