[Bug libc/5490] cimagf gives incorrect results
ismail at pardus dot org dot tr
sourceware-bugzilla@sourceware.org
Mon Dec 17 00:41:00 GMT 2007
------- 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.
More information about the Glibc-bugs
mailing list