This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/5490] cimagf gives incorrect results


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]