about summary refs log tree commit diff
path: root/misc/tsearch.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-02-19 17:19:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-02-19 17:19:53 +0000
commit7b428e744b1ae62c8f26b4e1db487230b796c984 (patch)
tree7af9532337ac60aa7ffe4005e5271a294aae4758 /misc/tsearch.c
parent59eda029a8a35e5f4e5cd7be0f84c6629e48ec6e (diff)
downloadglibc-7b428e744b1ae62c8f26b4e1db487230b796c984.tar.gz
glibc-7b428e744b1ae62c8f26b4e1db487230b796c984.tar.xz
glibc-7b428e744b1ae62c8f26b4e1db487230b796c984.zip
Fix ldbl-128ibm nextafterl, nexttowardl sign of zero result (bug 19678).
The ldbl-128ibm implementation of nextafterl / nexttowardl returns -0
in FE_DOWNWARD mode when taking the next value below the least
positive subnormal, when it should return +0.  This patch fixes it to
check explicitly for this case.

Tested for powerpc.

	[BZ #19678]
	* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
	Ensure +0.0 is returned when taking the next value below the least
	positive value.
Diffstat (limited to 'misc/tsearch.c')
0 files changed, 0 insertions, 0 deletions