This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20228] [i386/x86_64] log10l (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: Wed, 08 Jun 2016 23:00:18 +0000
- Subject: [Bug math/20228] [i386/x86_64] log10l (sNaN) returns sNaN
- Auto-submitted: auto-generated
- References: <bug-20228-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20228
--- 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 09096b36152dca599ca781b7299d0d662ca74ce7 (commit)
from df179d88080ad7a733edccc655cf5f6bbec6f8fc (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=09096b36152dca599ca781b7299d0d662ca74ce7
commit 09096b36152dca599ca781b7299d0d662ca74ce7
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Jun 8 22:59:18 2016 +0000
Fix i386/x86_64 log10l (sNaN) (bug 20228).
The i386/x86_64 versions of log10l return sNaN for sNaN input. This
patch fixes them to add a NaN input to itself so that qNaN is returned
in this case.
Tested for x86_64 and x86.
[BZ #20228]
* sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
itself.
* sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
* math/libm-test.inc (log10_test_data): Add sNaN tests.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
math/libm-test.inc | 2 ++
sysdeps/i386/fpu/e_log10l.S | 1 +
sysdeps/x86_64/fpu/e_log10l.S | 1 +
4 files changed, 10 insertions(+), 0 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.