2000-02-17 19:39:52 +00: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-08-28 17:45:56 +00:00
|
|
|
const union __dmath __infinity[1] = {{{ 0x7ff00000, 0 }}};
|
2000-02-17 19:39:52 +00:00
|
|
|
#else
|
2000-08-28 17:45:56 +00:00
|
|
|
const union __dmath __infinity[1] = {{{ 0, 0x7ff00000 }}};
|
2000-02-17 19:39:52 +00:00
|
|
|
#endif
|
|
|
|
#else /* defined (_DOUBLE_IS_32BITS) */
|
2000-08-28 17:45:56 +00:00
|
|
|
const union __dmath __infinity[1] = {{{ 0x7f800000, 0 }}};
|
2000-02-17 19:39:52 +00:00
|
|
|
#endif /* defined (_DOUBLE_IS_32BITS) */
|