delorie.com/djgpp/doc/libc/libc_343.html
|
search
|
libc.a reference
__fpclassifyld
Syntax
| #include <math.h>
int __fpclassifyld(long double);
|
Description
Returns the kind of the floating point value supplied. You should use
the type generic macro fpclassify
(see section fpclassify) instead
of this function.
Return Value
FP_INFINITE
, FP_NAN
, FP_NORMAL
,
FP_SUBNORMAL
, FP_ZERO
or FP_UNNORMAL
.
Portability
Example
| if( __fpclassifyld(0.0L) != FP_ZERO )
{
printf("Something is wrong with the implementation!\n");
}
|