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]

Re: cproj.c and cprojf.c typo bug report


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.


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