Bug 2572 - Incorrect return from float sin (0X1.921FB54442D18P+15)
Summary: Incorrect return from float sin (0X1.921FB54442D18P+15)
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 18:35 UTC by H.J. Lu
Modified: 2019-04-10 09:08 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 18:35:07 UTC
Failure: Test: sin (0X1.921FB54442D18P+15) == -0X1.1A62633145C07P-39
Result:
 is:          1.43233430571854114532e-03   0x1.777a5400000000000000p-10
 should be:  -2.00646140327553901272e-12  -0x1.1a626400000000000000p-39
 difference:  1.43233430571854114532e-03   0x1.777a5400000000000000p-10
 ulp       :  6605476091396096.0000
 max.ulp   :  0.0000
Comment 1 Ulrich Drepper 2006-04-23 17:57:15 UTC
Suspended until somebody comes up with a patch.
Comment 2 Joseph Myers 2012-02-26 17:20:42 UTC
When the value 0X1.921FB54442D18P+15 is rounded to float (0X1.921FB6P+15), the correctly rounded sine is the value glibc gives.