diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-06-06 22:21:11 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-06-06 22:21:11 +0000 |
commit | 3d8b06bc6108aa20a6591f52e7d9cbbd63c20e0a (patch) | |
tree | 4d39272f31ecc39b6e42fa8179a4b1c8591502c2 /ChangeLog | |
parent | af5fdf5a358329161cc3960f5e54fac16dbb8063 (diff) | |
download | glibc-3d8b06bc6108aa20a6591f52e7d9cbbd63c20e0a.tar.gz glibc-3d8b06bc6108aa20a6591f52e7d9cbbd63c20e0a.tar.xz glibc-3d8b06bc6108aa20a6591f52e7d9cbbd63c20e0a.zip |
Fix dbl-64 asin (sNaN) (bug 20213).
The dbl-64 version of asin returns sNaN for sNaN arguments. This patch fixes it to add NaN arguments to themselves so that qNaN is returned in this case. Tested for x86_64 and x86. [BZ #20213] * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN argument to itself. * math/libm-test.inc (asin_test_data): Add sNaN tests.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index e207a71005..b839cfb11c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-06-06 Joseph Myers <joseph@codesourcery.com> + + [BZ #20213] + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN + argument to itself. + * math/libm-test.inc (asin_test_data): Add sNaN tests. + 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org> * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation |