diff options
Diffstat (limited to 'lib/msun/src/k_tan.c')
-rw-r--r-- | lib/msun/src/k_tan.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/msun/src/k_tan.c b/lib/msun/src/k_tan.c index 16b2dd0..15145a6 100644 --- a/lib/msun/src/k_tan.c +++ b/lib/msun/src/k_tan.c @@ -85,9 +85,7 @@ __kernel_tan(double x, double y, int iy) { if ((int) x == 0) { /* generate inexact */ u_int32_t low; GET_LOW_WORD(low,x); - if (((ix | low) | (iy + 1)) == 0) - return one / fabs(x); - else { + { if (iy == 1) return x; else { /* compute -1 / (x+y) carefully */ |