fpclassify
From cppreference.com
Defined in header <math.h>
|
||
#define fpclassify(arg) /* implementation defined */ |
(since C99) | |
Categorizes floating point value arg into the following categories: zero, subnormal, normal, infinite, NAN, or implementation-defined category. The macro returns an integral value.
[edit] Parameters
arg | - | floating point value |
[edit] Return value
One of FP_INFINITE, FP_NAN, FP_NORMAL, FP_SUBNORMAL, FP_ZERO or implementation-defined type, specifying the category of arg.
[edit] See also
(C99) |
checks if the given number has finite value (function) |
(C99) |
checks if the given number is infinite (function) |
(C99) |
checks if the given number is NaN (function) |
(C99) |
checks if the given number is normal (function) |
C++ documentation for fpclassify
|