This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/13305] cacosh(+/-0.5+0.0*i) returns wrong result
- From: "kreckel at ginac dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sat, 29 Oct 2011 20:16:38 +0000
- Subject: [Bug math/13305] cacosh(+/-0.5+0.0*i) returns wrong result
- Auto-submitted: auto-generated
- References: <bug-13305-131@http.sourceware.org/bugzilla/>
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.