This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5490] cimagf gives incorrect results
- From: "ismail at pardus dot org dot tr" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 17 Dec 2007 00:41:13 -0000
- Subject: [Bug libc/5490] cimagf gives incorrect results
- References: <20071217002617.5490.ismail@pardus.org.tr>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.