[PATCH] fix sinf(NAN)

Joseph Myers joseph@codesourcery.com
Tue Dec 5 18:06:00 GMT 2017


On Tue, 5 Dec 2017, Szabolcs Nagy wrote:

> sinf(NAN) should not signal invalid fp exception
> so use isless instead of < where NAN is compared.
> 
> this makes the sinf tests pass on aarch64.
> 
> 2017-12-05  Szabolcs Nagy  <szabolcs.nagy@arm.com>
> 
> 	* sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list