diff options
Diffstat (limited to 'math/s_csinhf.c')
-rw-r--r-- | math/s_csinhf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/s_csinhf.c b/math/s_csinhf.c index 848f5d1e85..4e0bc0362c 100644 --- a/math/s_csinhf.c +++ b/math/s_csinhf.c @@ -52,6 +52,9 @@ __csinhf (__complex__ float x) cosix = 1.0f; } + if (negate) + cosix = -cosix; + if (fabsf (__real__ x) > t) { float exp_t = __ieee754_expf (t); @@ -86,9 +89,6 @@ __csinhf (__complex__ float x) __imag__ retval = __ieee754_coshf (__real__ x) * sinix; } - if (negate) - __real__ retval = -__real__ retval; - if (fabsf (__real__ retval) < FLT_MIN) { volatile float force_underflow |