Do not test sign of zero result from infinite argument to Bessel functions.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 29 Oct 2015 22:45:47 +0000 (22:45 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 29 Oct 2015 22:45:47 +0000 (22:45 +0000)
commit68b7f7df0cc9f13a0f6c182208fe7e74c3387412
tree96d2b2c60173f43606b02f9a6a3bc3f63474abbd
parent5ce8f125063cfd8660710a80243cb705e66f0626
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.
ChangeLog
math/libm-test.inc