regression in tgamma?

Keith Packard keithp@keithp.com
Thu Dec 17 16:13:27 GMT 2020


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20201217/7e7d8a15/attachment.sig>


More information about the Newlib mailing list