Namespaces
Variants
Views
Actions

isnan

From cppreference.com
< c | numeric | math
Revision as of 07:08, 20 April 2012 by P12 (Talk | contribs)

Template:c/numeric/math/sidebar

Defined in header <math.h>
#define isnan(arg) /* implementation defined */
(since C99)

Determines if the given floating point number arg is not-a-number (NaN). The macro returns an integral value.

Parameters

arg - floating point value

Return value

Nonzero integral value if arg is NaN, 0 otherwise.

See also

categorizes the given floating point value
(function) [edit]
checks if the given number has finite value
(function) [edit]
(C99)
checks if the given number is infinite
(function) [edit]
checks if the given number is normal
(function) [edit]