This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] fix sinf(NAN)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>, <nd at arm dot com>
- Date: Tue, 5 Dec 2017 18:06:40 +0000
- Subject: Re: [PATCH] fix sinf(NAN)
- Authentication-results: sourceware.org; auth=none
- References: <5A26DFD0.2090301@arm.com>
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