cproj.c and cprojf.c typo bug report

Aaron Myles Landwehr snaphat@gmail.com
Tue Mar 1 21:44:00 GMT 2011


Hey all,
There appears to be two typos in newlib:

newlib/libm/complex/cproj.c:96 &
newlib/libm/complex/cprojf.c:58 contain a typo as follows:

   if (isinf(creal(z) || isinf(cimag(z)))) {

if I'm not mistaken it should be:

  if (isinf(creal(z)) || isinf(cimag(z))) {

Thanks,
Aaron Landwehr



More information about the Newlib mailing list