newlib?: pow function can produce incorrect results.

Cary R.
Wed May 2 17:22:00 GMT 2007

One thing to keep in mind is that I was encouraged to submit patches to
make the newlib functions match the glibc implementation not the standard.
Which I don't currently have access to.
> Other potentially controversial special cases (may or may not be
> handled correctly by newlib -- I didn't check) are:
> atan2(+-0,-0)=+-pi
> atan2(+-0,+0)=+-0

newlib and my version of glibc return +0 for all these cases.

> hypot(+-inf,y)=+inf, even for y=NaN
> fmax(x,NaN)=fmax(NaN,x)=fmin(x,NaN)=fmin(NaN,x)=x

newlib gets these right.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list