diff options
Diffstat (limited to 'math/s_cacosl.c')
-rw-r--r-- | math/s_cacosl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/s_cacosl.c b/math/s_cacosl.c index b9d34930d6..8688d3cd36 100644 --- a/math/s_cacosl.c +++ b/math/s_cacosl.c @@ -34,6 +34,8 @@ __cacosl (__complex__ long double x) y = __casinl (x); __real__ res = M_PI_2l - __real__ y; + if (__real__ res == 0.0L) + __real__ res = 0.0L; __imag__ res = -__imag__ y; } else |