diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-01-30 09:30:09 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-01-30 09:30:09 +0000 |
commit | 3e543bc56346540cbf73fd48d0172fc6a588efd5 (patch) | |
tree | b2c3502b6596d238ac861cc82cafdc6f8b84e143 /math/s_cacoshl.c | |
parent | 06f313e361a523605ba6d4c9cdc67a7353cd367c (diff) |
Updated to fedora-glibc-20060130T0922
Diffstat (limited to 'math/s_cacoshl.c')
-rw-r--r-- | math/s_cacoshl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/math/s_cacoshl.c b/math/s_cacoshl.c index 4e5e2b3e3e..643858920e 100644 --- a/math/s_cacoshl.c +++ b/math/s_cacoshl.c @@ -1,5 +1,5 @@ /* Return arc hyperbole cosine for long double value. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -73,6 +73,9 @@ __cacoshl (__complex__ long double x) y = __csqrtl (y); + if (__real__ x < 0.0) + y = -y; + __real__ y += __real__ x; __imag__ y += __imag__ x; |