diff options
author | Tobias Burnus <burnus@net-b.de> | 2013-02-17 13:57:51 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2013-02-17 13:57:51 +0100 |
commit | 162ceab464a66006a52c0e6241a933f5104a58e7 (patch) | |
tree | 9e305a036d582137fded5d3f9a23db9bf47fb431 /libquadmath | |
parent | 0965835f6c8c170ac692ebacb718e4fd360b0d15 (diff) | |
download | gcc-162ceab464a66006a52c0e6241a933f5104a58e7.tar.gz |
cacoshq.c (cacoshq): Call signbitq instead of signbit.
2013-02-17 Tobias Burnus <burnus@net-b.de>
* math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
From-SVN: r196109
Diffstat (limited to 'libquadmath')
-rw-r--r-- | libquadmath/ChangeLog | 4 | ||||
-rw-r--r-- | libquadmath/math/cacoshq.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index f8e7c71303d..3c293cfac5e 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,7 @@ +2013-02-17 Tobias Burnus <burnus@net-b.de> + + * math/cacoshq.c (cacoshq): Call signbitq instead of signbit. + 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com> Revert previous patch. diff --git a/libquadmath/math/cacoshq.c b/libquadmath/math/cacoshq.c index 263e03d0c11..a7025dc917d 100644 --- a/libquadmath/math/cacoshq.c +++ b/libquadmath/math/cacoshq.c @@ -70,7 +70,7 @@ cacoshq (__complex128 x) some cases. */ res = 2.0Q * clogq (csqrtq ((x + 1.0Q) / 2.0Q) + csqrtq ((x - 1.0Q) / 2.0Q)); - if (signbit (__real__ res)) + if (signbitq (__real__ res)) __real__ res = 0.0Q; } else |