This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20213] asin (sNaN) returns sNaN
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 06 Jun 2016 22:22:05 +0000
- Subject: [Bug math/20213] asin (sNaN) returns sNaN
- Auto-submitted: auto-generated
- References: <bug-20213-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20213
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 3d8b06bc6108aa20a6591f52e7d9cbbd63c20e0a (commit)
from af5fdf5a358329161cc3960f5e54fac16dbb8063 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3d8b06bc6108aa20a6591f52e7d9cbbd63c20e0a
commit 3d8b06bc6108aa20a6591f52e7d9cbbd63c20e0a
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Jun 6 22:21:11 2016 +0000
Fix dbl-64 asin (sNaN) (bug 20213).
The dbl-64 version of asin returns sNaN for sNaN arguments. This
patch fixes it to add NaN arguments to themselves so that qNaN is
returned in this case.
Tested for x86_64 and x86.
[BZ #20213]
* sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
argument to itself.
* math/libm-test.inc (asin_test_data): Add sNaN tests.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
math/libm-test.inc | 2 ++
sysdeps/ieee754/dbl-64/e_asin.c | 2 +-
3 files changed, 10 insertions(+), 1 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.