This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

cproj.c and cprojf.c typo bug report


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


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