diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-28 17:03:12 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-28 17:03:12 +0000 |
commit | 1ee311b26d7122f860fe940db6ce46968981a9a3 (patch) | |
tree | 96c195652047b452e756960d6bdfc6786443c564 /lib/msun/src/e_asinf.c | |
parent | ae40c00e1724fe7d6584623e3a953b6b44fc741f (diff) | |
download | FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.zip FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.tar.gz |
Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
Diffstat (limited to 'lib/msun/src/e_asinf.c')
-rw-r--r-- | lib/msun/src/e_asinf.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/msun/src/e_asinf.c b/lib/msun/src/e_asinf.c index 2f1e2e2..178289a 100644 --- a/lib/msun/src/e_asinf.c +++ b/lib/msun/src/e_asinf.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.0000000000e+00, /* 0x3F800000 */ huge = 1.000e+30, pio2_hi = 1.5707962513e+00, /* 0x3fc90fda */ @@ -42,12 +38,8 @@ qS2 = 2.0209457874e+00, /* 0x4001572d */ qS3 = -6.8828397989e-01, /* 0xbf303361 */ qS4 = 7.7038154006e-02; /* 0x3d9dc62e */ -#ifdef __STDC__ - float __ieee754_asinf(float x) -#else - float __ieee754_asinf(x) - float x; -#endif +float +__ieee754_asinf(float x) { float t=0.0,w,p,q,c,r,s; int32_t hx,ix; |