#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
ANSI/ISO C
C99; not C89
Example
if( __fpclassifyld(0.0L) != FP_ZERO )
{
printf("Something is wrong with the implementation!\n");
}
Please take a moment to fill out
this visitor survey You can help support this site by
visiting the advertisers that sponsor it! (only once each, though)