2 * isinff(x) returns 1 if x is +-infinity, else 0;
4 * isinf is a <math.h> macro in the C99 standard. It was previously
5 * implemented as isinf and isinff functions by newlib and are still declared
6 * as such in <ieeefp.h>. Newlib supplies it here as a function if the user
7 * chooses to use <ieeefp.h> or needs to link older code compiled with the
8 * previous <math.h> declaration.
23 return FLT_UWORD_IS_INFINITE(ix);
26 #ifdef _DOUBLE_IS_32BITS
34 return isinff((float) x);
37 #endif /* defined(_DOUBLE_IS_32BITS) */