]> sourceware.org Git - newlib-cygwin.git/commit
libm/math: set errno to ERANGE at gamma poles
authorKeith Packard via Newlib <newlib@sourceware.org>
Tue, 4 Aug 2020 22:22:20 +0000 (15:22 -0700)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 5 Aug 2020 20:16:31 +0000 (22:16 +0200)
commit905aa4c01347b4a5deed8b96305f42eb7054d083
tree84fb97505d49e646afc939128febac454cd4c143
parent50ad1980858b1092ebdd8c3dd6ae14d72596eb4d
libm/math: set errno to ERANGE at gamma poles

For POSIX, gamma(i) (i non-positive integer) should set errno to
ERANGE instead of EDOM.

Signed-off-by: Keith Packard <keithp@keithp.com>
newlib/libm/math/w_gamma.c
newlib/libm/math/w_lgamma.c
newlib/libm/math/wf_gamma.c
newlib/libm/math/wf_lgamma.c
This page took 0.030657 seconds and 5 git commands to generate.