2000-02-18 03:39:52 +08:00
|
|
|
/* Infinity as a constant value. This is used for HUGE_VAL.
|
|
|
|
* Added by Cygnus Support.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "fdlibm.h"
|
|
|
|
|
|
|
|
#ifndef _DOUBLE_IS_32BITS
|
|
|
|
#ifdef __IEEE_BIG_ENDIAN
|
2000-07-29 00:27:55 +08:00
|
|
|
const union __dmath __infinity[1] = {{ 0x7ff00000, 0 }};
|
2000-02-18 03:39:52 +08:00
|
|
|
#else
|
2000-07-29 00:27:55 +08:00
|
|
|
const union __dmath __infinity[1] = {{ 0, 0x7ff00000 }};
|
2000-02-18 03:39:52 +08:00
|
|
|
#endif
|
|
|
|
#else /* defined (_DOUBLE_IS_32BITS) */
|
2000-07-29 00:27:55 +08:00
|
|
|
const union __dmath __infinity[1] = {{ 0x7f800000, 0 }};
|
2000-02-18 03:39:52 +08:00
|
|
|
#endif /* defined (_DOUBLE_IS_32BITS) */
|