diff options
Diffstat (limited to 'math/s_csin.c')
-rw-r--r-- | math/s_csin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/s_csin.c b/math/s_csin.c index f1ddb4e..ceee25f 100644 --- a/math/s_csin.c +++ b/math/s_csin.c @@ -52,6 +52,9 @@ __csin (__complex__ double x) cosix = 1.0; } + if (negate) + sinix = -sinix; + if (fabs (__imag__ x) > t) { double exp_t = __ieee754_exp (t); @@ -86,9 +89,6 @@ __csin (__complex__ double x) __imag__ retval = __ieee754_sinh (__imag__ x) * cosix; } - if (negate) - __real__ retval = -__real__ retval; - if (fabs (__real__ retval) < DBL_MIN) { volatile double force_underflow |