123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef _MATH_H
- # error "Never use <bits/huge_vall.h> directly; include <math.h> instead."
- #endif
- #if __GNUC_PREREQ(3,3)
- # define HUGE_VALL (__builtin_huge_vall())
- #elif __GNUC_PREREQ(2,96)
- # define HUGE_VALL (__extension__ 0x1.0p32767L)
- #else
- # define __HUGE_VALL_bytes { 0, 0, 0, 0, 0, 0, 0, 0x80, 0xff, 0x7f, 0, 0 }
- # define __huge_vall_t union { unsigned char __c[12]; long double __ld; }
- # ifdef __GNUC__
- # define HUGE_VALL (__extension__ \
- ((__huge_vall_t) { __c: __HUGE_VALL_bytes }).__ld)
- # else
- static __huge_vall_t __huge_vall = { __HUGE_VALL_bytes };
- # define HUGE_VALL (__huge_vall.__ld)
- # endif
- #endif
|