|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Checks a given double-precision floating-point value for not a number (NAN).
The _isnan function tests a given double-precision floating-point value x, returning a nonzero value if x is a not a number (NAN). A NAN is generated when the result of a floating-point operation cannot be represented in Institute of Electrical and Electronics Engineers (IEEE) format. For information about how a NAN is represented for output, see printf.