This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/21130] New: Incorrect return from y0l (-inf) and y1l (-inf) when linking with -lieee
- From: "gftg at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 10 Feb 2017 19:14:29 +0000
- Subject: [Bug math/21130] New: Incorrect return from y0l (-inf) and y1l (-inf) when linking with -lieee
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21130
Bug ID: 21130
Summary: Incorrect return from y0l (-inf) and y1l (-inf) when
linking with -lieee
Product: glibc
Version: 2.26
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: gftg at linux dot vnet.ibm.com
CC: gftg at linux dot vnet.ibm.com, joseph at codesourcery dot com,
tuliom at linux dot vnet.ibm.com
Target Milestone: ---
Flags: review?(joseph at codesourcery dot com)
Created attachment 9798
--> https://sourceware.org/bugzilla/attachment.cgi?id=9798&action=edit
test case
Building and running the attached test program with the following commands
gives the following results:
gcc y01.c -lieee -lm && ./a.out
FAILURE: FE_INVALID not set for y0l (-inf).
FAILURE: Wrong result for y0l (-inf). Got 0.000000, expected nan.
FAILURE: FE_INVALID not set for y1l (-inf).
FAILURE: Wrong result for y1l (-inf). Got 0.000000, expected nan.
I already have a patch to fix this and I'll send it to libc-alpha.
--
You are receiving this mail because:
You are on the CC list for the bug.