Bug 2563 - Incorrect return from double j1 (0X1.FF00000000002P+840)
Summary: Incorrect return from double j1 (0X1.FF00000000002P+840)
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2006-04-12 22:46 UTC by H.J. Lu
Modified: 2019-04-10 09:12 UTC (History)
2 users (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
Last reconfirmed:
fweimer: security-


Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2006-04-12 22:46:19 UTC
Failure: Test: j1 (0X1.FF00000000002P+840) == 0X1.FFFFB6BCBBC66P-422
 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.