#define HUGE_VALL ((long double)INFINITY)
#define MATH_ERRNO 1
-#define MATH_EXCEPT 2
+#define MATH_ERREXCEPT 2
#define math_errhandling 2
#define FP_ILOGBNAN (((unsigned)-1)>>1)
int __signbitl(long double);
#define signbit(x) ( \
- sizeof(x) == sizeof(float) ? !!(__FLOAT_BITS(x) & 0x80000000) : \
- sizeof(x) == sizeof(double) ? !!(__DOUBLE_BITS(x) & (__uint64_t)1<<63) : \
+ sizeof(x) == sizeof(float) ? (int)(__FLOAT_BITS(x)>>31) : \
+ sizeof(x) == sizeof(double) ? (int)(__DOUBLE_BITS(x)>>63) : \
__signbitl(x) )
#define isunordered(x,y) (isnan((x)) ? ((void)(y),1) : isnan((y)))