This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/887] Math library function "logb" and "nextafter" inconsistent
- From: "rsa at us dot ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 01 Mar 2012 21:26:05 +0000
- Subject: [Bug math/887] Math library function "logb" and "nextafter" inconsistent
- Auto-submitted: auto-generated
- References: <bug-887-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=887
--- Comment #18 from Ryan S. Arnold <rsa at us dot ibm.com> 2012-03-01 21:26:05 UTC ---
A bit more investigation reveals the issue:
Building logb with -mcpu=power4 or -mcpu=ppc970 results in a negative signed
zero. This is due to the power4 and ppc970 versions using fsub.
The fcfid insn was introduced after power4 and logb uses that when built for
power5 and power6. A negative signed zero is not encountered in these cases.
So technically YES, this is still an issue, but it originates in GCC due to
insn selection.
--
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.