diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-10-15 01:11:39 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-10-15 01:11:39 +0400 |
commit | d2c2c1328b5fa59452a0d7e945abeed2fa72fb58 (patch) | |
tree | 4defeefaba2172387d8e965537214f43d1be1bb8 /newlib/libm/mathfp/s_infconst.c | |
parent | 4d57c1edc7e1f4ac2c6656a014c90454225df138 (diff) |
2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
* libm/common/Makefile.am: Add s_infconst.c support.
* libm/common/Makefile.in: Regenerated.
* libm/common/s_infconst.c: New file with float and
long double infinity support added.
* libm/math/Makefile.am: Remove s_infconst.c support.
* libm/math/Makefile.in: Regenerated.
* libm/math/s_infconst.c: Moved to common directory.
* libm/mathfp/Makefile.am: Remove s_infconst.c support.
* libm/mathfp/Makefile.in: Regenerated.
* libm/mathfp/s_infconst.c: Moved to common directory.
Diffstat (limited to 'newlib/libm/mathfp/s_infconst.c')
-rw-r--r-- | newlib/libm/mathfp/s_infconst.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/newlib/libm/mathfp/s_infconst.c b/newlib/libm/mathfp/s_infconst.c deleted file mode 100644 index e6b86d497..000000000 --- a/newlib/libm/mathfp/s_infconst.c +++ /dev/null @@ -1,15 +0,0 @@ -/* 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 -const union __dmath __infinity[1] = {{ 0x7ff00000, 0 }}; -#else -const union __dmath __infinity[1] = {{ 0, 0x7ff00000 }}; -#endif -#else /* defined (_DOUBLE_IS_32BITS) */ -const union __dmath __infinity[1] = {{ 0x7f800000, 0 }}; -#endif /* defined (_DOUBLE_IS_32BITS) */ |