fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libm / math / s_infconst.c
blob6b63afbca281b660d3d9f389939b82cdc0314b88
1 /* Infinity as a constant value. This is used for HUGE_VAL.
2 * Added by Cygnus Support.
3 */
5 #include "fdlibm.h"
7 #ifndef _DOUBLE_IS_32BITS
8 #ifdef __IEEE_BIG_ENDIAN
9 const union __dmath __infinity[1] = {{{ 0x7ff00000, 0 }}};
10 #else
11 const union __dmath __infinity[1] = {{{ 0, 0x7ff00000 }}};
12 #endif
13 #else /* defined (_DOUBLE_IS_32BITS) */
14 const union __dmath __infinity[1] = {{{ 0x7f800000, 0 }}};
15 #endif /* defined (_DOUBLE_IS_32BITS) */