summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/s_erf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/s_erf.c')
-rw-r--r--lib/msun/src/s_erf.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/msun/src/s_erf.c b/lib/msun/src/s_erf.c
index bfe5b12..ee6bb79 100644
--- a/lib/msun/src/s_erf.c
+++ b/lib/msun/src/s_erf.c
@@ -112,11 +112,7 @@ static char rcsid[] = "$FreeBSD$";
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
static const double
-#else
-static double
-#endif
tiny = 1e-300,
half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
@@ -191,12 +187,7 @@ sb5 = 2.55305040643316442583e+03, /* 0x40A3F219, 0xCEDF3BE6 */
sb6 = 4.74528541206955367215e+02, /* 0x407DA874, 0xE79FE763 */
sb7 = -2.24409524465858183362e+01; /* 0xC03670E2, 0x42712D62 */
-#ifdef __STDC__
double erf(double x)
-#else
- double erf(x)
- double x;
-#endif
{
int32_t hx,ix,i;
double R,S,P,Q,s,y,z,r;
@@ -247,12 +238,7 @@ sb7 = -2.24409524465858183362e+01; /* 0xC03670E2, 0x42712D62 */
if(hx>=0) return one-r/x; else return r/x-one;
}
-#ifdef __STDC__
double erfc(double x)
-#else
- double erfc(x)
- double x;
-#endif
{
int32_t hx,ix;
double R,S,P,Q,s,y,z,r;
OpenPOWER on IntegriCloud