for lgamma should set errno to ERANGE, not EDOM.

This commit is contained in:
Ulrich Drepper 2009-04-25 16:16:28 +00:00
parent 1332704275
commit 81068e35e8
2 changed files with 2 additions and 5 deletions

View File

@ -5,12 +5,9 @@
* include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.
* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors
for lgamma should se errno to ERANGE, not EDOM.
for lgamma should set errno to ERANGE, not EDOM.
* math/libm-test.inc (lgamma_test): Check errno for pole errors.
* sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 since
this is the maximum UCS4 value.
2009-04-24 Ulrich Drepper <drepper@redhat.com>
[BZ #10093]

View File

@ -277,7 +277,7 @@ typedef unsigned long long int uintmax_t;
/* Limits of `wint_t'. */
# define WINT_MIN (0u)
# define WINT_MAX (2147483647)
# define WINT_MAX (4294967295u)
#endif /* C++ && limit macros */