summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/k_cosf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/k_cosf.c')
-rw-r--r--lib/msun/src/k_cosf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/msun/src/k_cosf.c b/lib/msun/src/k_cosf.c
index 4239ae1..e1012ec 100644
--- a/lib/msun/src/k_cosf.c
+++ b/lib/msun/src/k_cosf.c
@@ -36,9 +36,6 @@ __kernel_cosf(float x, float y)
int32_t ix;
GET_FLOAT_WORD(ix,x);
ix &= 0x7fffffff; /* ix = |x|'s high word*/
- if(ix<0x32000000) { /* if x < 2**27 */
- if(((int)x)==0) return one; /* generate inexact */
- }
z = x*x;
r = z*(C1+z*(C2+z*(C3+z*(C4+z*(C5+z*C6)))));
if(ix < 0x3e99999a) /* if |x| < 0.3 */
OpenPOWER on IntegriCloud