From: burnus Date: Sun, 17 Feb 2013 12:57:51 +0000 (+0000) Subject: 2013-02-17 Tobias Burnus X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ebf8e7f404b0df7b405c309a21981dab7129d17;p=thirdparty%2Fgcc.git 2013-02-17 Tobias Burnus * math/cacoshq.c (cacoshq): Call signbitq instead of signbit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196109 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index f8e7c71303d7..3c293cfac5e0 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,7 @@ +2013-02-17 Tobias Burnus + + * math/cacoshq.c (cacoshq): Call signbitq instead of signbit. + 2013-02-06 Richard Sandiford Revert previous patch. diff --git a/libquadmath/math/cacoshq.c b/libquadmath/math/cacoshq.c index 263e03d0c112..a7025dc917dc 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