/proc/isnan(n)
Arguments:
n: The number to test.
Returns:
num: 1 for a numeric NaN value; 0 if it is not.

For undefined maths operations, a NaN can be returned. A NaN is a special number that is never equal to, less than or greater than any other number, including NaN.