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/21130] New: Incorrect return from y0l (-inf) and y1l (-inf) when linking with -lieee


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.

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