diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-06-06 22:10:11 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-06-06 22:10:11 +0000 |
commit | af0cfbaf1df1549ca0bc70bd6b4bc54004d11680 (patch) | |
tree | 098497c0884048b37effc5a287a1a5786c5dd752 /ChangeLog | |
parent | c24480ce3b5fed848243fc9642932ef2fa670109 (diff) | |
download | glibc-af0cfbaf1df1549ca0bc70bd6b4bc54004d11680.tar.gz |
Fix dbl-64 acos (sNaN) (bug 20212).
The dbl-64 version of acos 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 #20212]
* sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
argument to itself.
* math/libm-test.inc (acos_test_data): Add sNaN tests.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2016-06-06 Joseph Myers <joseph@codesourcery.com> + + [BZ #20212] + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN + argument to itself. + * math/libm-test.inc (acos_test_data): Add sNaN tests. + 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr): |