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