Bug 2560 - Incorrect return from double tgamma (-0X1.5800000080001P+7)
Summary: Incorrect return from double tgamma (-0X1.5800000080001P+7)
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-12 22:42 UTC by H.J. Lu
Modified: 2019-04-10 09:14 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-12 22:42:32 UTC
Failure: Test: tgamma (-0X1.5800000080001P+7) == -0X1.B98C532C7745AP-1009
Result:
 is:         -3.14392714488304993290e-304  -0x1.b98c532c77b0b0000000p-1009
 should be:  -3.14392714488235661572e-304  -0x1.b98c532c7745a0000000p-1009
 difference:  6.93317182526304526479e-317   0x0.0000000d620000000000p-1022
 ulp       :  1713.0000
 max.ulp   :  0.0000
Comment 1 Ulrich Drepper 2006-04-23 17:54:30 UTC
Suspended until somebody comes up with a patch.
Comment 2 Joseph Myers 2012-02-23 22:53:22 UTC
Confirmed and still present, error a bit too large for marking expected in the testsuite.
Comment 3 Joseph Myers 2013-05-08 11:59:45 UTC
Fixed for 2.18 by:

commit d8cd06db62d92f86cc8cc3c0d6a489bd207bb834
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed May 8 11:58:18 2013 +0000

    Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).