cproj.c and cprojf.c typo bug report
Jeff Johnston
jjohnstn@redhat.com
Wed Mar 2 07:24:00 GMT 2011
On 03/01/2011 04:07 PM, Aaron Myles Landwehr wrote:
> 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
You are correct. Patch checked in under your name.
-- Jeff J.
More information about the Newlib
mailing list