[PATCH] Set up errno properly for yn

Joseph S. Myers joseph@codesourcery.com
Mon May 28 16:37:00 GMT 2012


On Mon, 28 May 2012, Marek Polacek wrote:

> 2012-05-28  Marek Polacek  <polacek@redhat.com>
> 
> 	[BZ #6808]
> 	* sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Set errno to
> 	ERANGE when the result is +-Inf.
> 	* sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
> 	* sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
> 	* math/libm-test.inc (yn_test): Add another test.

It appears that the ldbl-128 and ldbl-128ibm implementations need the same 
change as well.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list