From d2c2c1328b5fa59452a0d7e945abeed2fa72fb58 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 14 Oct 2005 21:11:39 +0000 Subject: 2005-10-14 Jeff Johnston * 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. --- newlib/libm/mathfp/s_infconst.c | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 newlib/libm/mathfp/s_infconst.c (limited to 'newlib/libm/mathfp/s_infconst.c') 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) */ -- cgit v1.2.3