NaN - Integer NaN

Integer NaN

Most fixed sized integer formats do not have any way of explicitly indicating invalid data.

Perl's BigInt package uses "NaN" for the result of strings that don't represent valid integers.

>perl -mMath::BigInt -e "print Math::BigInt->new('foo')" NaN

Read more about this topic:  NaN

Other articles related to "integers, integer":

CABS - Overview of Functions
... The functions that operate on integers, such as abs, labs, div, and ldiv, are instead specified in the stdlib.h header (cstdlib header in C++) ... abs labs llabs computes absolute value of an integer value fabs computes absolute value of a floating point value div ldiv lldiv computes the quotient and remainder of integer ...