[Cfp-interest 2274] tgamma()

Fred J. Tydeman tydeman at tybor.com
Fri Nov 19 05:21:42 PST 2021


Should 7.12.8.4 tgamma()

A domain error or pole error may occur if x is a negative integer or zero.

be changed to 

A domain error shall occur if x is a negative integer.
A pole error shall occur is x is zero.

The Austin Group / POSIX thinks IEC 60559 says tgamma(negative integer)
is a domain error (raise invalid, return NaN).

https://austingroupbugs.net/view.php?id=1461

I am not finding any "gamma" in IEEE-754-2019





---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list