about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-29 22:45:47 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-29 22:45:47 +0000
commit68b7f7df0cc9f13a0f6c182208fe7e74c3387412 (patch)
tree96d2b2c60173f43606b02f9a6a3bc3f63474abbd /ChangeLog
parent5ce8f125063cfd8660710a80243cb705e66f0626 (diff)
downloadglibc-68b7f7df0cc9f13a0f6c182208fe7e74c3387412.tar.gz
glibc-68b7f7df0cc9f13a0f6c182208fe7e74c3387412.tar.xz
glibc-68b7f7df0cc9f13a0f6c182208fe7e74c3387412.zip
Do not test sign of zero result from infinite argument to Bessel functions.
When Bessel functions return a zero result from an infinite argument,
the function oscillates as it approaches 0, so the sign of that zero
result should be indeterminate.  This patch weakens the expectations
accordingly not to check the sign of such results (the tests were
causing spurious failures for j1 (-Inf) for ldbl-128).

Tested for x86_64 and x86.

	* math/libm-test.inc (j0_test_data): Do not test sign of zero
	result from infinite argument.
	(j1_test_data): Likewise.
	(jn_test_data): Likewise.
	(y0_test_data): Likewise.
	(y1_test_data): Likewise.
	(yn_test_data): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e938a5338f..42c1701131 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
 
+	* math/libm-test.inc (j0_test_data): Do not test sign of zero
+	result from infinite argument.
+	(j1_test_data): Likewise.
+	(jn_test_data): Likewise.
+	(y0_test_data): Likewise.
+	(y1_test_data): Likewise.
+	(yn_test_data): Likewise.
+
 	[BZ #16171]
 	* math/w_remainder.c (drem): Define as weak alias of __remainder.
 	[NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.