Bug 2576 - Incorrect return from float jn (2, 0X1.FFFF62P+99)
Summary: Incorrect return from float jn (2, 0X1.FFFF62P+99)
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 19:22 UTC by H.J. Lu
Modified: 2019-04-10 09:00 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-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2006-04-14 19:22:50 UTC
Failure: Test: jn (2, 0X1.FFFF62P+99) == 0X1.CE210CP+0
Result:
 is:          0.00000000000000000000e+00   0x0.00000000000000000000p+0
 should be:   1.80519175529479980469e+00   0x1.ce210c00000000000000p+0
 difference:  1.80519175529479980469e+00   0x1.ce210c00000000000000p+0
 ulp       :  15143046.0000
 max.ulp   :  0.0000
Comment 1 Ulrich Drepper 2006-04-23 17:57:38 UTC
Suspended until somebody comes up with a patch.
Comment 2 Joseph Myers 2012-02-23 02:53:56 UTC
See http://sourceware.org/ml/libc-alpha/2012-02/msg00512.html for analysis.
Comment 3 Joseph Myers 2012-03-16 20:19:00 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.

(The expected value given in this bug report seems completely wrong, but glibc now agrees closely with MPFR on the result.)