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/887] Math library function "logb" and "nextafter" inconsistent


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.


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