This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
cproj.c and cprojf.c typo bug report
- From: Aaron Myles Landwehr <snaphat at gmail dot com>
- To: newlib <newlib at sources dot redhat dot com>
- Date: Tue, 1 Mar 2011 16:07:05 -0500
- Subject: 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