2 * isinf(x) returns 1 if x is infinity, else 0;
5 * isinf is a <math.h> macro in the C99 standard. It was previously
6 * implemented as a function by newlib and is declared as such in
7 * <math.h>. Newlib supplies it here as a function if the user
8 * chooses to use it instead of the C99 macro.
14 #ifndef _DOUBLE_IS_32BITS
22 EXTRACT_WORDS(hx
,lx
,x
);
24 hx
|= (__uint32_t
)(lx
|(-lx
))>>31;
26 return 1 - (int)((__uint32_t
)(hx
|(-hx
))>>31);
29 #endif /* _DOUBLE_IS_32BITS */