This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20218] [i386] asinhl (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: Tue, 07 Jun 2016 22:55:54 +0000
- Subject: [Bug math/20218] [i386] asinhl (sNaN) returns sNaN
- Auto-submitted: auto-generated
- References: <bug-20218-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20218
--- 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 c23805a95d9bc095118299b5965f7f8388e57fc4 (commit)
from 91655fc307fec2d5a8d60446b4de11cc986b47fa (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=c23805a95d9bc095118299b5965f7f8388e57fc4
commit c23805a95d9bc095118299b5965f7f8388e57fc4
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Jun 7 22:54:58 2016 +0000
Fix i386 asinhl (sNaN) (bug 20218).
The i386 version of asinhl returns sNaN (without raising any
exceptions) for sNaN input. This patch fixes it to add non-finite
arguments to themselves, so that "invalid" is raised and qNaN
returned.
Tested for x86_64 and x86.
[BZ #20218]
* sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
to itself.
* math/libm-test.inc (asinh_test_data): Add sNaN tests.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
math/libm-test.inc | 2 ++
sysdeps/i386/fpu/s_asinhl.S | 1 +
3 files changed, 10 insertions(+), 0 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.