about summary refs log tree commit diff
path: root/libio/iofgets_u.c
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 /libio/iofgets_u.c
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 'libio/iofgets_u.c')
0 files changed, 0 insertions, 0 deletions