2016-06-09 Joseph Myers <joseph@codesourcery.com>
+ [BZ #20235]
+ * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
+ itself.
+ * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
+ * math/libm-test.inc (log2_test_data): Add sNaN tests.
+
[BZ #20234]
* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
infinity or NaN input to itself.
TEST_f_f (log2, plus_infty, plus_infty, ERRNO_UNCHANGED),
TEST_f_f (log2, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
TEST_f_f (log2, -qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+ TEST_f_f (log2, snan_value, qnan_value, INVALID_EXCEPTION),
+ TEST_f_f (log2, -snan_value, qnan_value, INVALID_EXCEPTION),
AUTO_TESTS_f_f (log2),
};