Number - NaN (Not A Number)

Data System Architecture


NaN, or Not a Number, is a value that returns when impossible things are asked in arithmetic – like:

  • divide zero by zero.
  • or during the bad coercion

NaN (paradoxically named not a number) is a special floating-point value in the IEEE floating-point standard.


Not equal to itself

The IEEE floating-point standard requires that NaN must be treated as unequal to itself.

Demo in Javascript:

console.log(NaN === NaN);    // false

Recommended Pages
Javascript - NaN (Not a number)

in Javascript. but the below expressions are alsoTRUE !! you check then a NaN value not with the isNaN function but with the fact that this is the only value not equal to itself 0321812182Herman,...
Card Puncher Data Processing
R - NaN

NaN in R. It defines an undefined mathematical operations and then is also an NA (Missing values) Undefined mathematical operations Is Na NaN ? Is NaN Na ?

Share this page:
Follow us:
Task Runner