public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/16815] New: PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD
@ 2014-04-06 19:44 azanella at linux dot vnet.ibm.com
2014-04-06 19:44 ` [Bug math/16815] " azanella at linux dot vnet.ibm.com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: azanella at linux dot vnet.ibm.com @ 2014-04-06 19:44 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16815
Bug ID: 16815
Summary: PowerPC: nearbyint/nearbyintf bogus result for
FE_DOWNWARD
Product: glibc
Version: 2.20
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: azanella at linux dot vnet.ibm.com
Optimized PowerPC 32-bits nearbyint/nearbyintf show bogus results for
FE_DOWNWARD rounding mode, as shown by math failing tests:
testing double (without inline functions)
Failure: Test: nearbyint_downward (-0.5)
Result:
is: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
should be: -1.00000000000000000000e+00 -0x1.00000000000000000000p+0
difference: 1.00000000000000000000e+00 0x1.00000000000000000000p+0
ulp : 4503599627370496.0000
max.ulp : 0.0000
Failure: Test: nearbyint_downward (-1.5)
Result:
is: -1.00000000000000000000e+00 -0x1.00000000000000000000p+0
should be: -2.00000000000000000000e+00 -0x1.00000000000000000000p+1
difference: 1.00000000000000000000e+00 0x1.00000000000000000000p+0
ulp : 2251799813685248.0000
max.ulp : 0.0000
Failure: Test: nearbyint_downward (-2.5)
Result:
is: -2.00000000000000000000e+00 -0x1.00000000000000000000p+1
should be: -3.00000000000000000000e+00 -0x1.80000000000000000000p+1
difference: 1.00000000000000000000e+00 0x1.00000000000000000000p+0
ulp : 2251799813685248.0000
max.ulp : 0.0000
Failure: Test: nearbyint_downward (-3.5)
Result:
is: -3.00000000000000000000e+00 -0x1.80000000000000000000p+1
should be: -4.00000000000000000000e+00 -0x1.00000000000000000000p+2
difference: 1.00000000000000000000e+00 0x1.00000000000000000000p+0
ulp : 1125899906842624.0000
max.ulp : 0.0000
Failure: Test: nearbyint_downward (-4.5)
Result:
is: -4.00000000000000000000e+00 -0x1.00000000000000000000p+2
should be: -5.00000000000000000000e+00 -0x1.40000000000000000000p+2
difference: 1.00000000000000000000e+00 0x1.00000000000000000000p+0
ulp : 1125899906842624.0000
max.ulp : 0.0000
These are not all the failing tests, just an except.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/16815] PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD
2014-04-06 19:44 [Bug math/16815] New: PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD azanella at linux dot vnet.ibm.com
@ 2014-04-06 19:44 ` azanella at linux dot vnet.ibm.com
2014-04-06 19:45 ` azanella at linux dot vnet.ibm.com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: azanella at linux dot vnet.ibm.com @ 2014-04-06 19:44 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16815
--- Comment #1 from Adhemerval Zanella Netto <azanella at linux dot vnet.ibm.com> ---
The same optimized implementation for PowerPC64 does not shown any issue in any
rounding mode.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/16815] PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD
2014-04-06 19:44 [Bug math/16815] New: PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD azanella at linux dot vnet.ibm.com
2014-04-06 19:44 ` [Bug math/16815] " azanella at linux dot vnet.ibm.com
@ 2014-04-06 19:45 ` azanella at linux dot vnet.ibm.com
2014-04-06 20:11 ` azanella at linux dot vnet.ibm.com
2014-06-12 19:46 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: azanella at linux dot vnet.ibm.com @ 2014-04-06 19:45 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16815
Adhemerval Zanella Netto <azanella at linux dot vnet.ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |azanella at linux dot vnet.ibm.com
Target Milestone|--- |2.20
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/16815] PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD
2014-04-06 19:44 [Bug math/16815] New: PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD azanella at linux dot vnet.ibm.com
2014-04-06 19:44 ` [Bug math/16815] " azanella at linux dot vnet.ibm.com
2014-04-06 19:45 ` azanella at linux dot vnet.ibm.com
@ 2014-04-06 20:11 ` azanella at linux dot vnet.ibm.com
2014-06-12 19:46 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: azanella at linux dot vnet.ibm.com @ 2014-04-06 20:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16815
Adhemerval Zanella Netto <azanella at linux dot vnet.ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Adhemerval Zanella Netto <azanella at linux dot vnet.ibm.com> ---
Fixed by 8bd70862e11023e7f827f240a5a214f847ae982d.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/16815] PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD
2014-04-06 19:44 [Bug math/16815] New: PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD azanella at linux dot vnet.ibm.com
` (2 preceding siblings ...)
2014-04-06 20:11 ` azanella at linux dot vnet.ibm.com
@ 2014-06-12 19:46 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-12 19:46 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16815
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-12 19:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-06 19:44 [Bug math/16815] New: PowerPC: nearbyint/nearbyintf bogus result for FE_DOWNWARD azanella at linux dot vnet.ibm.com
2014-04-06 19:44 ` [Bug math/16815] " azanella at linux dot vnet.ibm.com
2014-04-06 19:45 ` azanella at linux dot vnet.ibm.com
2014-04-06 20:11 ` azanella at linux dot vnet.ibm.com
2014-06-12 19:46 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).