[PATCH][BZ #22244] Fix yn(n,0) without SVID wrapper

Szabolcs Nagy szabolcs.nagy@arm.com
Tue Oct 3 17:28:00 GMT 2017


Without SVID compat wrapper yn(n,0) and ynf(n,0) does not raise
the divide-by-zero excpetion and it may return inf with the wrong
sign for n < 0.

2017-10-03  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	[BZ #22244]
	* sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
	* sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: yn.diff
Type: text/x-patch
Size: 1536 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171003/5bb32c30/attachment.bin>


More information about the Libc-alpha mailing list