summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/e_expf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/e_expf.c')
-rw-r--r--lib/msun/src/e_expf.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/msun/src/e_expf.c b/lib/msun/src/e_expf.c
index 8f37f6f..5858d2c 100644
--- a/lib/msun/src/e_expf.c
+++ b/lib/msun/src/e_expf.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
one = 1.0,
halF[2] = {0.5,-0.5,},
huge = 1.0e+30,
@@ -42,12 +38,8 @@ P3 = 6.6137559770e-05, /* 0x388ab355 */
P4 = -1.6533901999e-06, /* 0xb5ddea0e */
P5 = 4.1381369442e-08; /* 0x3331bb4c */
-#ifdef __STDC__
- float __ieee754_expf(float x) /* default IEEE double exp */
-#else
- float __ieee754_expf(x) /* default IEEE double exp */
- float x;
-#endif
+float
+__ieee754_expf(float x) /* default IEEE double exp */
{
float y,hi=0.0,lo=0.0,c,t;
int32_t k=0,xsb;
OpenPOWER on IntegriCloud