diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-04-25 16:16:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-04-25 16:16:28 +0000 |
commit | 81068e35e802790716dd00269cbf43050eee3004 (patch) | |
tree | 6fd1c676aeb7563a7938be815bf23f0116e869ab | |
parent | 1332704275227d57463e74e52065243a1381d29b (diff) | |
download | glibc-81068e35e802790716dd00269cbf43050eee3004.zip glibc-81068e35e802790716dd00269cbf43050eee3004.tar.gz glibc-81068e35e802790716dd00269cbf43050eee3004.tar.bz2 |
for lgamma should set errno to ERANGE, not EDOM.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/generic/stdint.h | 2 |
2 files changed, 2 insertions, 5 deletions
@@ -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] diff --git a/sysdeps/generic/stdint.h b/sysdeps/generic/stdint.h index 98aaec1..2c729ad 100644 --- a/sysdeps/generic/stdint.h +++ b/sysdeps/generic/stdint.h @@ -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 */ |