Bug 2578 - Incorrect return from float tan (0X1.124252853ECF1P+7)
Summary: Incorrect return from float tan (0X1.124252853ECF1P+7)
Status: RESOLVED INVALID
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andreas Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 19:36 UTC by H.J. Lu
Modified: 2019-04-10 08:48 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:36:33 UTC
Failure: Test: tan (0X1.124252853ECF1P+7) == -0X1.F7A6F84FD21CDP+0
Result:
 is:         -1.96741080284118652344e+00  -0x1.f7a83c00000000000000p+0
 should be:  -1.96739149093627929688e+00  -0x1.f7a6f800000000000000p+0
 difference:  1.93119049072265625000e-05   0x1.44000000000000000000p-16
 ulp       :  162.0000
 max.ulp   :  0.0000
Comment 1 Ulrich Drepper 2006-04-23 17:58:03 UTC
Suspended until somebody comes up with a patch.
Comment 2 Joseph Myers 2012-02-26 17:57:35 UTC
When you round the given argument to float, glibc's result is the correctly rounded tangent of the rounded argument.