Bug 17257 - [sparc] erf generates spurious underflow for long-double-128
Summary: [sparc] erf generates spurious underflow for long-double-128
Status: RESOLVED WORKSFORME
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: 2.20
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 22:05 UTC by David S. Miller
Modified: 2017-02-01 17:58 UTC (History)
0 users

See Also:
Host: sparc*-*-*
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David S. Miller 2014-08-11 22:05:10 UTC
On sparc 32-bit and 64-bit, test-ldouble fails as follows:

Failure: erf (0x3.8b7f12369ded5518p-16384): Exception "Underflow" set
Failure: erf_downward (0x3.8b7f12369ded5518p-16384): Exception "Underflow" set
Failure: erf_towardzero (0x3.8b7f12369ded5518p-16384): Exception "Underflow" set
Failure: erf_upward (0x3.8b7f12369ded5518p-16384): Exception "Underflow" set
Comment 1 jsm-csl@polyomino.org.uk 2014-08-11 22:31:47 UTC
I do *not* see these on mips64 (n32), for which I'm currently running 
tests (with GCC 4.9, so supporting exceptions for long double).  Such 
failures were supposed to be fixed by the fix for bug 16516; you may have 
some architecture-specific issue here.
Comment 2 Joseph Myers 2017-02-01 17:58:47 UTC
The most recent SPARC release results reported by Adhemerval on https://sourceware.org/glibc/wiki/Release/2.25 do not show this failing.  Nor do Aurelien's at 
https://sourceware.org/glibc/wiki/Release/2.22 so presuming fixed (possibly through changes in GCC or elsewhere) in the absence of any recent reports.