regression in tgamma?

Jeff Johnston jjohnstn@redhat.com
Thu Dec 17 18:27:54 GMT 2020


I am also seeing inf instead of -inf for both tgamma and tgammaf in my
testing.

-- Jeff J.


On Thu, Dec 17, 2020 at 11:13 AM Keith Packard <keithp@keithp.com> wrote:

> Paul Zimmermann <Paul.Zimmermann@inria.fr> writes:
>
> > zimmerma@tomate:/tmp/newlib-cygwin$ ./a.out
> > x=-0x0p+0 y=inf
> > x=-0x1.53f198fe3b278p+7 y=0x1.fd6d312572d9cp-1015
> >
> > The double value is ok, however the float result should be -inf.
> > This should have been fixed by Keith Packard in commit 4641693.
>
> And it remains fixed in my code here (which is in picolibc instead of
> newlib)?
>
> x=-0 y=-inf
> x=-169.972 y=5.66756e-306
>
> (using %g instead of %a)
> --
> -keith
>


More information about the Newlib mailing list