diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-02-08 16:44:31 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-02-08 16:44:31 +0000 |
commit | 78be84cd747c2e3965bf6c2fd5f702d6ff2f5525 (patch) | |
tree | c070a60ef7c5371bef8b7a559442a6920b394c8e /libc/sysdeps/ieee754/flt-32/s_erff.c | |
parent | de06548e980675e65a1e6d850bb8c3a3f7ec638d (diff) |
Merge changes between r16568 and r17050 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@17051 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/ieee754/flt-32/s_erff.c')
-rw-r--r-- | libc/sysdeps/ieee754/flt-32/s_erff.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/libc/sysdeps/ieee754/flt-32/s_erff.c b/libc/sysdeps/ieee754/flt-32/s_erff.c index 774714cfd..576618309 100644 --- a/libc/sysdeps/ieee754/flt-32/s_erff.c +++ b/libc/sysdeps/ieee754/flt-32/s_erff.c @@ -20,11 +20,7 @@ static char rcsid[] = "$NetBSD: s_erff.c,v 1.4 1995/05/10 20:47:07 jtc Exp $"; #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const float -#else -static float -#endif tiny = 1e-30, half= 5.0000000000e-01, /* 0x3F000000 */ one = 1.0000000000e+00, /* 0x3F800000 */ @@ -99,12 +95,7 @@ sb5 = 2.5530502930e+03, /* 0x451f90ce */ sb6 = 4.7452853394e+02, /* 0x43ed43a7 */ sb7 = -2.2440952301e+01; /* 0xc1b38712 */ -#ifdef __STDC__ - float __erff(float x) -#else - float __erff(x) - float x; -#endif +float __erff(float x) { int32_t hx,ix,i; float R,S,P,Q,s,y,z,r; @@ -157,12 +148,7 @@ sb7 = -2.2440952301e+01; /* 0xc1b38712 */ } weak_alias (__erff, erff) -#ifdef __STDC__ - float __erfcf(float x) -#else - float __erfcf(x) - float x; -#endif +float __erfcf(float x) { int32_t hx,ix; float R,S,P,Q,s,y,z,r; |