This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/18952] New: [ldbl-128/ldbl-128ibm] lgammal spurious "invalid", incorrect signgam
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 11 Sep 2015 14:58:02 +0000
- Subject: [Bug math/18952] New: [ldbl-128/ldbl-128ibm] lgammal spurious "invalid", incorrect signgam
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18952
Bug ID: 18952
Summary: [ldbl-128/ldbl-128ibm] lgammal spurious "invalid",
incorrect signgam
Product: glibc
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Target Milestone: ---
The ldbl-128 / ldbl-128ibm implementation of lgammal converts (the floor of
minus) non-integer negative arguments to int to determine the value of signgam.
When those values are outside the range of int, this produces spurious
"invalid" exceptions and incorrect values of signgam. E.g., for mips64:
Failure: lgamma (-0x1.000000008p+32): Exception "Invalid operation" set
Failure: Test: lgamma (-0x1.000000008p+32) extra output 1
Result:
is: 1
should be: -1
Failure: lgamma (-0x1.000000018p+32): Exception "Invalid operation" set
--
You are receiving this mail because:
You are on the CC list for the bug.