diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-12-04 08:37:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-12-04 08:37:38 +0000 |
commit | 767b6275d7bf9096e3f52348401632e1e58d4896 (patch) | |
tree | 90d5020efe471f708220a132870a47c7d562a9c4 /sysdeps | |
parent | 09881ccc3250a2fe1b55b99f8d432efc8cb7b523 (diff) | |
download | glibc-767b6275d7bf9096e3f52348401632e1e58d4896.tar.gz glibc-767b6275d7bf9096e3f52348401632e1e58d4896.tar.xz glibc-767b6275d7bf9096e3f52348401632e1e58d4896.zip |
Update.
2000-12-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and DECIMAL_DIG definitions. * sysdeps/arm/fpu/bits/mathdef.h: Likewise * sysdeps/generic/bits/mathdef.h: Likewise * sysdeps/i386/fpu/bits/mathdef.h: Likewise * sysdeps/ia64/fpu/bits/mathdef.h: Likewise * sysdeps/m68k/fpu/bits/mathdef.h: Likewise * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise * sysdeps/sparc/fpu/bits/mathdef.h: Likewise * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise * math/test-fenv.c (main): Use return instead of exit to avoid warning. * math/atest-exp.c: Mark local functions as static to avoid warnings. * math/atest-exp2.c: Likewise. * math/atest-sincos.c: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/alpha/fpu/bits/mathdef.h | 6 | ||||
-rw-r--r-- | sysdeps/arm/fpu/bits/mathdef.h | 6 | ||||
-rw-r--r-- | sysdeps/generic/bits/mathdef.h | 6 | ||||
-rw-r--r-- | sysdeps/i386/fpu/bits/mathdef.h | 6 | ||||
-rw-r--r-- | sysdeps/ia64/fpu/bits/mathdef.h | 6 | ||||
-rw-r--r-- | sysdeps/m68k/fpu/bits/mathdef.h | 6 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/bits/mathdef.h | 9 | ||||
-rw-r--r-- | sysdeps/sh/sh4/fpu/bits/mathdef.h | 14 | ||||
-rw-r--r-- | sysdeps/sparc/fpu/bits/mathdef.h | 12 |
9 files changed, 1 insertions, 70 deletions
diff --git a/sysdeps/alpha/fpu/bits/mathdef.h b/sysdeps/alpha/fpu/bits/mathdef.h index 3b80e82475..2750af8cd8 100644 --- a/sysdeps/alpha/fpu/bits/mathdef.h +++ b/sysdeps/alpha/fpu/bits/mathdef.h @@ -58,9 +58,6 @@ typedef double double_t; typedef double float_t; typedef double double_t; -/* Strange compiler, we don't know how it works. */ -# define FLT_EVAL_METHOD -1 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -70,9 +67,6 @@ typedef double double_t; # define FP_ILOGB0 (-2147483647) # define FP_ILOGBNAN (2147483647) -/* Number of decimal digits for the `double' type. */ -# define DECIMAL_DIG 15 - #endif /* ISO C99 */ #ifndef __NO_LONG_DOUBLE_MATH diff --git a/sysdeps/arm/fpu/bits/mathdef.h b/sysdeps/arm/fpu/bits/mathdef.h index 374ad674c3..426fec7247 100644 --- a/sysdeps/arm/fpu/bits/mathdef.h +++ b/sysdeps/arm/fpu/bits/mathdef.h @@ -29,9 +29,6 @@ typedef float float_t; /* `float' expressions are evaluated as typedef double double_t; /* `double' expressions are evaluated as `double'. */ -/* Signal that types stay as they were declared. */ -# define FLT_EVAL_METHOD 0 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -40,9 +37,6 @@ typedef double double_t; /* `double' expressions are evaluated as # define FP_ILOGB0 (-2147483647) # define FP_ILOGBNAN (2147483647) -/* Number of decimal digits for the `double' type. */ -# define DECIMAL_DIG 15 - #endif /* ISO C99 */ #ifndef __NO_LONG_DOUBLE_MATH diff --git a/sysdeps/generic/bits/mathdef.h b/sysdeps/generic/bits/mathdef.h index ad465a9081..20fe35ff50 100644 --- a/sysdeps/generic/bits/mathdef.h +++ b/sysdeps/generic/bits/mathdef.h @@ -30,9 +30,6 @@ typedef double float_t; /* `float' expressions are evaluated as typedef double double_t; /* `double' expressions are evaluated as `double'. */ -/* Signal that both types are `double'. */ -# define FLT_EVAL_METHOD 1 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -41,9 +38,6 @@ typedef double double_t; /* `double' expressions are evaluated as # define FP_ILOGB0 (-2147483647) # define FP_ILOGBNAN 2147483647 -/* Number of decimal digits for the `double' type. */ -# define DECIMAL_DIG 15 - #endif /* ISO C99 */ #ifndef __NO_LONG_DOUBLE_MATH diff --git a/sysdeps/i386/fpu/bits/mathdef.h b/sysdeps/i386/fpu/bits/mathdef.h index 8301db55e0..6dc05d6f1a 100644 --- a/sysdeps/i386/fpu/bits/mathdef.h +++ b/sysdeps/i386/fpu/bits/mathdef.h @@ -31,9 +31,6 @@ typedef long double float_t; /* `float' expressions are evaluated as typedef long double double_t; /* `double' expressions are evaluated as `long double'. */ -/* Signal that both types are `long double'. */ -# define FLT_EVAL_METHOD 2 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -41,7 +38,4 @@ typedef long double double_t; /* `double' expressions are evaluated as # define FP_ILOGB0 (-2147483647 - 1) # define FP_ILOGBNAN (-2147483647 - 1) -/* Number of decimal digits for the `long double' type. */ -# define DECIMAL_DIG 21 - #endif /* ISO C99 */ diff --git a/sysdeps/ia64/fpu/bits/mathdef.h b/sysdeps/ia64/fpu/bits/mathdef.h index bd2ce5d262..90c1e89f87 100644 --- a/sysdeps/ia64/fpu/bits/mathdef.h +++ b/sysdeps/ia64/fpu/bits/mathdef.h @@ -31,9 +31,6 @@ typedef long double float_t; /* `float' expressions are evaluated as typedef long double double_t; /* `double' expressions are evaluated as `long double'. */ -/* Signal that both types are `long double'. */ -# define FLT_EVAL_METHOD 2 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -41,7 +38,4 @@ typedef long double double_t; /* `double' expressions are evaluated as # define FP_ILOGB0 (-2147483647 - 1) # define FP_ILOGBNAN (-2147483647 - 1) -/* Number of decimal digits for the `long double' type. */ -# define DECIMAL_DIG 18 - #endif /* ISO C99 */ diff --git a/sysdeps/m68k/fpu/bits/mathdef.h b/sysdeps/m68k/fpu/bits/mathdef.h index c3365a7ff2..4eec5d8cc4 100644 --- a/sysdeps/m68k/fpu/bits/mathdef.h +++ b/sysdeps/m68k/fpu/bits/mathdef.h @@ -31,9 +31,6 @@ typedef long double float_t; /* `float' expressions are evaluated as typedef long double double_t; /* `double' expressions are evaluated as `long double'. */ -/* Signal that both types are `long double'. */ -# define FLT_EVAL_METHOD 2 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -41,7 +38,4 @@ typedef long double double_t; /* `double' expressions are evaluated as # define FP_ILOGB0 (-2147483647 - 1) # define FP_ILOGBNAN (2147483647) -/* Number of decimal digits for the `long double' type. */ -# define DECIMAL_DIG 18 - #endif /* ISO C99 */ diff --git a/sysdeps/powerpc/fpu/bits/mathdef.h b/sysdeps/powerpc/fpu/bits/mathdef.h index 4c61fbea1e..54fa01f0b8 100644 --- a/sysdeps/powerpc/fpu/bits/mathdef.h +++ b/sysdeps/powerpc/fpu/bits/mathdef.h @@ -53,9 +53,6 @@ typedef double float_t; /* `float' expressions are evaluated as typedef double double_t; /* `double' expressions are evaluated as `double'. */ -/* Signal that both types are `double'. */ -# define FLT_EVAL_METHOD 1 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -66,9 +63,6 @@ typedef double double_t; /* `double' expressions are evaluated as typedef double float_t; typedef double double_t; -/* Strange compiler, we don't know how it works. */ -# define FLT_EVAL_METHOD -1 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -78,9 +72,6 @@ typedef double double_t; # define FP_ILOGB0 (-2147483647) # define FP_ILOGBNAN (2147483647) -/* Number of decimal digits for the `double' type. */ -# define DECIMAL_DIG 15 - #endif /* ISO C99 */ #ifndef __NO_LONG_DOUBLE_MATH diff --git a/sysdeps/sh/sh4/fpu/bits/mathdef.h b/sysdeps/sh/sh4/fpu/bits/mathdef.h index 577a596843..5f6758f18a 100644 --- a/sysdeps/sh/sh4/fpu/bits/mathdef.h +++ b/sysdeps/sh/sh4/fpu/bits/mathdef.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -39,9 +39,6 @@ typedef float float_t; /* `float' expressions are evaluated as typedef double double_t; /* `double' expressions are evaluated as `double'. */ -/* Signal that types stay as they were declared. */ -# define FLT_EVAL_METHOD 0 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -53,9 +50,6 @@ typedef double float_t; /* `float' expressions are evaluated as typedef double double_t; /* `double' expressions are evaluated as `double'. */ -/* Signal that both types are `double'. */ -# define FLT_EVAL_METHOD 1 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -66,9 +60,6 @@ typedef double double_t; /* `double' expressions are evaluated as typedef double float_t; typedef double double_t; -/* Strange compiler, we don't know how it works. */ -# define FLT_EVAL_METHOD -1 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -78,9 +69,6 @@ typedef double double_t; # define FP_ILOGB0 0x80000001 # define FP_ILOGBNAN 0x7fffffff -/* Number of decimal digits for the `double' type. */ -# define DECIMAL_DIG 15 - #endif /* ISO C99 */ #ifndef __NO_LONG_DOUBLE_MATH diff --git a/sysdeps/sparc/fpu/bits/mathdef.h b/sysdeps/sparc/fpu/bits/mathdef.h index 0f73b298fd..5a7d739a20 100644 --- a/sysdeps/sparc/fpu/bits/mathdef.h +++ b/sysdeps/sparc/fpu/bits/mathdef.h @@ -35,9 +35,6 @@ typedef float float_t; typedef double double_t; -/* Signal that types stay as they were declared. */ -# define FLT_EVAL_METHOD 0 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -47,9 +44,6 @@ typedef double double_t; typedef double float_t; typedef double double_t; -/* Signal that both types are `double'. */ -# define FLT_EVAL_METHOD 1 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -60,9 +54,6 @@ typedef double double_t; typedef double float_t; typedef double double_t; -/* Strange compiler, we don't know how it works. */ -# define FLT_EVAL_METHOD -1 - /* Define `INFINITY' as value of type `float'. */ # define INFINITY HUGE_VALF @@ -72,9 +63,6 @@ typedef double double_t; # define FP_ILOGB0 (-2147483647) # define FP_ILOGBNAN (2147483647) -/* Number of decimal digits for the `double' type. */ -# define DECIMAL_DIG 15 - #endif /* ISO C99 */ #ifndef __NO_LONG_DOUBLE_MATH |