mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
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.
This commit is contained in:
parent
09881ccc32
commit
767b6275d7
19
ChangeLog
19
ChangeLog
@ -1,5 +1,24 @@
|
||||
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
|
||||
|
||||
2000-12-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
* sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
|
||||
Reported by Fred J. Tydeman <tydeman@tybor.com>.
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Geoffrey Keating <Geoff.Keating@anu.edu.au>, 1997.
|
||||
|
||||
@ -40,7 +40,7 @@ static const char exp1[102] = "2" /* point */
|
||||
"84d9045190cfef324e7738926cfbe5f4bf8d8d8c31d763da07";
|
||||
static const char hexdig[] = "0123456789abcdef";
|
||||
|
||||
void
|
||||
static void
|
||||
print_mpn_hex (const mp_limb_t *x, unsigned size)
|
||||
{
|
||||
char value[size + 1];
|
||||
@ -56,7 +56,7 @@ print_mpn_hex (const mp_limb_t *x, unsigned size)
|
||||
fputs (value, stdout);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
exp_mpn (mp1 ex, mp1 x)
|
||||
{
|
||||
unsigned n;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Geoffrey Keating <Geoff.Keating@anu.edu.au>, 1997.
|
||||
|
||||
@ -45,7 +45,7 @@ static const char exp_m1[102] = "0" /* point */
|
||||
|
||||
static const char hexdig[] = "0123456789abcdef";
|
||||
|
||||
void
|
||||
static void
|
||||
print_mpn_fp (const mp_limb_t *x, unsigned int dp, unsigned int base)
|
||||
{
|
||||
unsigned int i;
|
||||
@ -66,7 +66,7 @@ print_mpn_fp (const mp_limb_t *x, unsigned int dp, unsigned int base)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
read_mpn_hex(mp_limb_t *x, const char *str)
|
||||
{
|
||||
int i;
|
||||
@ -96,7 +96,7 @@ get_log2(void)
|
||||
}
|
||||
|
||||
/* Compute e^x. */
|
||||
void
|
||||
static void
|
||||
exp_mpn (mp1 ex, mp1 x)
|
||||
{
|
||||
unsigned int n;
|
||||
@ -130,7 +130,7 @@ exp_mpn (mp1 ex, mp1 x)
|
||||
}
|
||||
|
||||
/* Calculate 2^x. */
|
||||
void
|
||||
static void
|
||||
exp2_mpn (mp1 ex, mp1 x)
|
||||
{
|
||||
mp2 tmp;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Geoffrey Keating <Geoff.Keating@anu.edu.au>, 1997.
|
||||
|
||||
@ -43,7 +43,7 @@ static const char cos1[101] =
|
||||
"300240b760e6fa96a94430a52d0e9e43f3450e3b8ff99bc934";
|
||||
static const char hexdig[] = "0123456789abcdef";
|
||||
|
||||
void
|
||||
static void
|
||||
print_mpn_hex (const mp_limb_t *x, unsigned size)
|
||||
{
|
||||
char value[size + 1];
|
||||
@ -59,7 +59,7 @@ print_mpn_hex (const mp_limb_t *x, unsigned size)
|
||||
fputs (value, stdout);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
sincosx_mpn (mp1 si, mp1 co, mp1 xx, mp1 ix)
|
||||
{
|
||||
int i;
|
||||
|
@ -657,5 +657,5 @@ main (void)
|
||||
exit (1);
|
||||
}
|
||||
printf ("\n All tests passed successfully.\n");
|
||||
exit (0);
|
||||
return 0;
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user