Fw: [PATCH 0/3] libm: Clean up gamma functions

Keith Packard keithp@keithp.com
Fri Aug 28 19:32:19 GMT 2020


Joseph Myers <joseph@codesourcery.com> writes:

> If infinity is an exact result and at least one 
> argument is infinite, there is no error or exception (unless it's some of 
> the new minimum/maximum operations in IEEE 754-2019 and the other argument 
> is a signaling NaN).

Thanks for the clarification. That all seems consistent, and I think I
can now (mostly) understand how the POSIX error values relate back to
the IEEE 754-2019 specification.

I do wonder if POSIX will add the new minimum/maximum operations; they
seem more like what I expect wrt NaN handling than the existing
minimumNumber/fmin maximumNumber/fmax operations.

Any other concerns about the testing values I'm using? Should we adopt
the newlib patches necessary to have it pass those tests?

-- 
-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/20200828/6b9ec536/attachment.sig>


More information about the Newlib mailing list