public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5490] New: cimagf gives incorrect results
@ 2007-12-17 0:26 ismail at pardus dot org dot tr
2007-12-17 0:41 ` [Bug libc/5490] " ismail at pardus dot org dot tr
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-12-17 0:26 UTC (permalink / raw)
To: glibc-bugs
This is a stripped down testcase from gfortran testcases converted to C :
#include <complex.h>
#include <stdio.h>
int main() {
float complex volatile z, one;
z = 5.0;
one = 1.0;
z = cpowf (z, one);
printf("%f\n", (double)cimagf(z));
return 0;
}
prints -0.000141 with libc 2.7 where as it prins 0.000000 with libc 2.3.6 and
libc 2.4.11 on i686 host.
--
Summary: cimagf gives incorrect results
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: ismail at pardus dot org dot tr
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: i686-gnu-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=5490
------- 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] 4+ messages in thread
* [Bug libc/5490] cimagf gives incorrect results
2007-12-17 0:26 [Bug libc/5490] New: cimagf gives incorrect results ismail at pardus dot org dot tr
@ 2007-12-17 0:41 ` ismail at pardus dot org dot tr
2007-12-17 19:22 ` [Bug math/5490] " ismail at pardus dot org dot tr
2007-12-18 14:47 ` ismail at pardus dot org dot tr
2 siblings, 0 replies; 4+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-12-17 0:41 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From ismail at pardus dot org dot tr 2007-12-17 00:41 -------
Possibly a related problem:
#include <complex.h>
#include <stdio.h>
int main() {
float complex volatile z;
z = 1.2 - 4.0*I;
z = clogf(z);
printf("%lf\n", cimagf(z));
return 0;
}
prints -0.000029 instead of -1.2793396 .
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5490
------- 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] 4+ messages in thread
* [Bug math/5490] cimagf gives incorrect results
2007-12-17 0:26 [Bug libc/5490] New: cimagf gives incorrect results ismail at pardus dot org dot tr
2007-12-17 0:41 ` [Bug libc/5490] " ismail at pardus dot org dot tr
@ 2007-12-17 19:22 ` ismail at pardus dot org dot tr
2007-12-18 14:47 ` ismail at pardus dot org dot tr
2 siblings, 0 replies; 4+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-12-17 19:22 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From ismail at pardus dot org dot tr 2007-12-17 19:21 -------
-> Assign to math component
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|drepper at redhat dot com |aj at suse dot de
Component|libc |math
http://sourceware.org/bugzilla/show_bug.cgi?id=5490
------- 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] 4+ messages in thread
* [Bug math/5490] cimagf gives incorrect results
2007-12-17 0:26 [Bug libc/5490] New: cimagf gives incorrect results ismail at pardus dot org dot tr
2007-12-17 0:41 ` [Bug libc/5490] " ismail at pardus dot org dot tr
2007-12-17 19:22 ` [Bug math/5490] " ismail at pardus dot org dot tr
@ 2007-12-18 14:47 ` ismail at pardus dot org dot tr
2 siblings, 0 replies; 4+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-12-18 14:47 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From ismail at pardus dot org dot tr 2007-12-18 14:47 -------
math regression tests fail hence this is likely a gcc 4.3 problem instead.
Closing as Invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=5490
------- 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] 4+ messages in thread
end of thread, other threads:[~2007-12-18 14:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-17 0:26 [Bug libc/5490] New: cimagf gives incorrect results ismail at pardus dot org dot tr
2007-12-17 0:41 ` [Bug libc/5490] " ismail at pardus dot org dot tr
2007-12-17 19:22 ` [Bug math/5490] " ismail at pardus dot org dot tr
2007-12-18 14:47 ` ismail at pardus dot org dot tr
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).