Bug 2563

Summary: Incorrect return from double j1 (0X1.FF00000000002P+840)
Product: glibc Reporter: H.J. Lu <hjl.tools>
Component: mathAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: drepper.fsp, glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu Last reconfirmed:

Description H.J. Lu 2006-04-12 22:46:19 UTC
Failure: Test: j1 (0X1.FF00000000002P+840) == 0X1.FFFFB6BCBBC66P-422
Result:
 is:          0.00000000000000000000e+00   0x0.00000000000000000000p+0
 should be:   1.84659169169933146950e-127   0x1.ffffb6bcbbc660000000p-422
 difference:  1.84659169169933146950e-127   0x1.ffffb6bcbbc660000000p-422
 ulp       :  9007179588418662.0000
 max.ulp   :  0.0000
Comment 1 Ulrich Drepper 2006-04-23 17:55:09 UTC
Suspended until somebody comes up with a patch.
Comment 2 Joseph Myers 2012-02-23 02:52:13 UTC
See http://sourceware.org/ml/libc-alpha/2012-02/msg00512.html for analysis.
Comment 3 Joseph Myers 2012-03-16 20:16:33 UTC
Fixed by:

commit c36e1d2369f149a64c759f3ad6f4cc5a03b03b62
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Mar 16 20:08:02 2012 +0000

    Disable Bessel function TLOSS errors in POSIX mode.