summaryrefslogtreecommitdiff
path: root/math/atest-exp2.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-04 08:37:38 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-04 08:37:38 +0000
commit767b6275d7bf9096e3f52348401632e1e58d4896 (patch)
tree90d5020efe471f708220a132870a47c7d562a9c4 /math/atest-exp2.c
parent09881ccc3250a2fe1b55b99f8d432efc8cb7b523 (diff)
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 'math/atest-exp2.c')
-rw-r--r--math/atest-exp2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/math/atest-exp2.c b/math/atest-exp2.c
index 9bea07a391..6a17039ecd 100644
--- a/math/atest-exp2.c
+++ b/math/atest-exp2.c
@@ -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;