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