diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-28 17:51:46 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-28 17:51:46 +0000 |
commit | 0b8481982efa5a2fbb83aa12204256ce07220437 (patch) | |
tree | 8cb4143d5f74c1c235f3d5ef0547bdf3f395a536 /lib/msun/src/s_erff.c | |
parent | d6fede3824f3a355c70642befd5bc0ec0d78ff1a (diff) | |
download | FreeBSD-src-0b8481982efa5a2fbb83aa12204256ce07220437.zip FreeBSD-src-0b8481982efa5a2fbb83aa12204256ce07220437.tar.gz |
Assume __STDC__, remove non-__STDC__ code.
Reviewed by: md5
Diffstat (limited to 'lib/msun/src/s_erff.c')
-rw-r--r-- | lib/msun/src/s_erff.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/msun/src/s_erff.c b/lib/msun/src/s_erff.c index e9cc409..15d7be0 100644 --- a/lib/msun/src/s_erff.c +++ b/lib/msun/src/s_erff.c @@ -20,11 +20,7 @@ static char rcsid[] = "$FreeBSD$"; #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 { int32_t hx,ix,i; float R,S,P,Q,s,y,z,r; @@ -156,12 +147,7 @@ sb7 = -2.2440952301e+01; /* 0xc1b38712 */ if(hx>=0) return one-r/x; else return r/x-one; } -#ifdef __STDC__ float erfcf(float x) -#else - float erfcf(x) - float x; -#endif { int32_t hx,ix; float R,S,P,Q,s,y,z,r; |