This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/13305] cacosh(+/-0.5+0.0*i) returns wrong result


http://sourceware.org/bugzilla/show_bug.cgi?id=13305

--- Comment #1 from Richard B. Kreckel <kreckel at ginac dot de> 2011-10-29 20:16:38 UTC ---
I just see that in order to correctly account for signed zero, the patch has to
be extended. After computing the square root, the condition if (__real__ x <
0.0) should be modified to if (signbit(x)).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]