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_cbrtf.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_cbrtf.c')
-rw-r--r-- | lib/msun/src/s_cbrtf.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/msun/src/s_cbrtf.c b/lib/msun/src/s_cbrtf.c index c1c2fa1..6b13069 100644 --- a/lib/msun/src/s_cbrtf.c +++ b/lib/msun/src/s_cbrtf.c @@ -23,31 +23,18 @@ static char rcsid[] = "$FreeBSD$"; /* cbrtf(x) * Return cube root of x */ -#ifdef __STDC__ static const unsigned -#else -static unsigned -#endif B1 = 709958130, /* B1 = (84+2/3-0.03306235651)*2**23 */ B2 = 642849266; /* B2 = (76+2/3-0.03306235651)*2**23 */ -#ifdef __STDC__ static const float -#else -static float -#endif C = 5.4285717010e-01, /* 19/35 = 0x3f0af8b0 */ D = -7.0530611277e-01, /* -864/1225 = 0xbf348ef1 */ E = 1.4142856598e+00, /* 99/70 = 0x3fb50750 */ F = 1.6071428061e+00, /* 45/28 = 0x3fcdb6db */ G = 3.5714286566e-01; /* 5/14 = 0x3eb6db6e */ -#ifdef __STDC__ float cbrtf(float x) -#else - float cbrtf(x) - float x; -#endif { float r,s,t; int32_t hx; |