From c23805a95d9bc095118299b5965f7f8388e57fc4 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 7 Jun 2016 22:54:58 +0000 Subject: Fix i386 asinhl (sNaN) (bug 20218). The i386 version of asinhl returns sNaN (without raising any exceptions) for sNaN input. This patch fixes it to add non-finite arguments to themselves, so that "invalid" is raised and qNaN returned. Tested for x86_64 and x86. [BZ #20218] * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument to itself. * math/libm-test.inc (asinh_test_data): Add sNaN tests. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5688d2009f..cba504e7b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-06-07 Joseph Myers + + [BZ #20218] + * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument + to itself. + * math/libm-test.inc (asinh_test_data): Add sNaN tests. + 2016-06-07 H.J. Lu [BZ #20195] -- cgit 1.4.1