public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug math/2500] New: Incorrrect cosf output @ 2006-03-31 23:49 hjl at lucon dot org 2006-04-14 18:33 ` [Bug math/2500] Incorrrect retuen from float cos (0X1.32D0875AC4074P+16) hjl at lucon dot org ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: hjl at lucon dot org @ 2006-03-31 23:49 UTC (permalink / raw) To: glibc-bugs [hjl@gnu-13 tmp]$ cat y.c #include <stdio.h> #include <math.h> int main () { printf ("%.20e\n", cos (7.8544528e+04)); printf ("%.20e\n", cosf (7.8544528e+04)); } [hjl@gnu-13 tmp]$ gcc -O2 y.c -lm [hjl@gnu-13 tmp]$ ./a.out -7.28725145449983058125e-04 2.52127205021679401398e-03 [hjl@gnu-13 tmp]$ -- Summary: Incorrrect cosf output Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: math AssignedTo: aj at suse dot de ReportedBy: hjl at lucon dot org CC: glibc-bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=2500 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/2500] Incorrrect retuen from float cos (0X1.32D0875AC4074P+16) 2006-03-31 23:49 [Bug math/2500] New: Incorrrect cosf output hjl at lucon dot org @ 2006-04-14 18:33 ` hjl at lucon dot org 2006-04-14 18:33 ` [Bug math/2500] Incorrect return " hjl at lucon dot org 2006-04-23 17:48 ` drepper at redhat dot com 2 siblings, 0 replies; 5+ messages in thread From: hjl at lucon dot org @ 2006-04-14 18:33 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From hjl at lucon dot org 2006-04-14 18:33 ------- Failure: Test: cos (0X1.32D0875AC4074P+16) == -0X1.CA51FDD2C46CCP-40 Result: is: 2.52127205021679401398e-03 0x1.4a77da00000000000000p-9 should be: -1.62828073507065296255e-12 -0x1.ca51fe00000000000000p-40 difference: 2.52127205021679401398e-03 0x1.4a77da00000000000000p-9 ulp : 23254630125273088.0000 max.ulp : 0.0000 -- What |Removed |Added ---------------------------------------------------------------------------- GCC build triplet| |x86_64-unknown-linux-gnu GCC host triplet| |x86_64-unknown-linux-gnu GCC target triplet| |x86_64-unknown-linux-gnu Summary|Incorrrect cosf output |Incorrrect retuen from float | |cos (0X1.32D0875AC4074P+16) http://sourceware.org/bugzilla/show_bug.cgi?id=2500 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/2500] Incorrect return from float cos (0X1.32D0875AC4074P+16) 2006-03-31 23:49 [Bug math/2500] New: Incorrrect cosf output hjl at lucon dot org 2006-04-14 18:33 ` [Bug math/2500] Incorrrect retuen from float cos (0X1.32D0875AC4074P+16) hjl at lucon dot org @ 2006-04-14 18:33 ` hjl at lucon dot org 2006-04-23 17:48 ` drepper at redhat dot com 2 siblings, 0 replies; 5+ messages in thread From: hjl at lucon dot org @ 2006-04-14 18:33 UTC (permalink / raw) To: glibc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Summary|Incorrrect retuen from float|Incorrect return from float |cos (0X1.32D0875AC4074P+16) |cos (0X1.32D0875AC4074P+16) http://sourceware.org/bugzilla/show_bug.cgi?id=2500 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug math/2500] Incorrect return from float cos (0X1.32D0875AC4074P+16) 2006-03-31 23:49 [Bug math/2500] New: Incorrrect cosf output hjl at lucon dot org 2006-04-14 18:33 ` [Bug math/2500] Incorrrect retuen from float cos (0X1.32D0875AC4074P+16) hjl at lucon dot org 2006-04-14 18:33 ` [Bug math/2500] Incorrect return " hjl at lucon dot org @ 2006-04-23 17:48 ` drepper at redhat dot com 2 siblings, 0 replies; 5+ messages in thread From: drepper at redhat dot com @ 2006-04-23 17:48 UTC (permalink / raw) To: glibc-bugs ------- Additional Comments From drepper at redhat dot com 2006-04-23 17:48 ------- Suspended until somebody comes up with the patch. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |drepper at redhat dot com Status|NEW |SUSPENDED http://sourceware.org/bugzilla/show_bug.cgi?id=2500 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-2500-131@http.sourceware.org/bugzilla/>]
* [Bug math/2500] Incorrect return from float cos (0X1.32D0875AC4074P+16) [not found] <bug-2500-131@http.sourceware.org/bugzilla/> @ 2012-02-23 1:52 ` jsm28 at gcc dot gnu.org 0 siblings, 0 replies; 5+ messages in thread From: jsm28 at gcc dot gnu.org @ 2012-02-23 1:52 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=2500 Joseph Myers <jsm28 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|SUSPENDED |RESOLVED Resolution| |INVALID --- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-23 01:51:52 UTC --- When the given 0X1.32D0875AC4074P+16 is rounded to float you get 0X1.32D088P+16 and cos of that value, correctly rounded to float, is exactly the value cosf gives. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-02-23 1:52 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-03-31 23:49 [Bug math/2500] New: Incorrrect cosf output hjl at lucon dot org 2006-04-14 18:33 ` [Bug math/2500] Incorrrect retuen from float cos (0X1.32D0875AC4074P+16) hjl at lucon dot org 2006-04-14 18:33 ` [Bug math/2500] Incorrect return " hjl at lucon dot org 2006-04-23 17:48 ` drepper at redhat dot com [not found] <bug-2500-131@http.sourceware.org/bugzilla/> 2012-02-23 1:52 ` jsm28 at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).