Re: regression in tgamma?

Keith Packard via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Paul Zimmermann <[email protected]> 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
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl/bg6cACgkQ2yIaaQAA
ABHppw//ZqpSrpgdJQ8xt6AfFOyUAozmGbUQanPBPWyqiYs3q3JOO6m6HBG19jNJ
Ad7SJoonN9Odz9Tupi4wrGtb9pY3EilwZvgV6UR2rCb+JUYfORP6jwRlQWHbniYz
fghhrtcIS49vqyyDdmTd+LS9qsZYub8S90gOFTRyaqxMpXvagDD+5Sy5ajsshrVC
AZbze3ijYCRi0/kiD4yllSK7HN86ctrKEljd+ZHiQUf8FVnx3viNtEFvRKrxqh4U
pI1CJR5UW22SSMmE1MRx10frSKUOjC4T8OzoolnVtmp6k8nOTCHWeQwebA6Ibq1m
MabYdDfpcBbsAJiwGCBv09sOfc8kDFiD1yqcXR9pFXZqqqpQ0/8MaYI6IO7iIxas
ON6c17YnCJjfcP2dz4ALzInMEFkWlZz/boOc5VwQw8dgpga8W9w0dS4tVTei9N7l
S/ZWka6mYVbcOkmK0krzhnvYTDwjacq/ePrh9xmo/t1pGIyFnPn/jnBqImep05NC
2okG2u8eB7Jv//Le4qQ97Gv7Cgo9vvCbYuYt4cAtrNtRHk6b7jdBhzsq2VC4gXs9
l5rtRTV37XQyhKZBZV3BnslRu9rCdeYh4ZDELRoz2V4DfD92aT8DonfZbay3MM6q
b1f4UqSS5OB51k1vhDMSfnr1XVDRjyZd1QrR3HYoUk1dA+UoXJY=
=cZWX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.