This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/20229] [i386/x86_64] log1pl (sNaN) returns sNaN


https://sourceware.org/bugzilla/show_bug.cgi?id=20229

--- 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  8c010e2f7135902b6dc90f0577573dacbb54cde9 (commit)
      from  09096b36152dca599ca781b7299d0d662ca74ce7 (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=8c010e2f7135902b6dc90f0577573dacbb54cde9

commit 8c010e2f7135902b6dc90f0577573dacbb54cde9
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jun 8 23:11:42 2016 +0000

    Fix i386/x86_64 log1pl (sNaN) (bug 20229).

    The i386/x86_64 versions of log1pl 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 #20229]
        * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
        * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
        * math/libm-test.inc (log1p_test_data): Add sNaN tests.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                     |    5 +++++
 math/libm-test.inc            |    2 ++
 sysdeps/i386/fpu/s_log1pl.S   |    1 +
 sysdeps/x86_64/fpu/s_log1pl.S |    1 +
 4 files changed, 9 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]