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/19076] [ldbl-128ibm] log1pl (-1) wrong sign of infinity


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

--- 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  d79b56892651fcfc1ae0f44d3d29d0fa03538ec1 (commit)
      from  3670da6bfb1ffd17d9bdce2d31d79656be0991b5 (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=d79b56892651fcfc1ae0f44d3d29d0fa03538ec1

commit d79b56892651fcfc1ae0f44d3d29d0fa03538ec1
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Oct 6 15:14:26 2015 +0000

    Fix ldbl-128ibm log1pl (-1) sign of infinity (bug 19076).

    The ldbl-128ibm implementation of log1pl produces an infinity with the
    wrong sign for log1pl (-1) in FE_DOWNWARD mode.  This patch fixes this
    by changing a division (-1.0L / (x - x)) (incorrect in FE_DOWNWARD
    mode) to (-1.0L / 0.0L) (correct in all rounding modes).

    Tested for powerpc.

        [BZ #19076]
        * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
        constant 0.0L when computing infinite result.

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

Summary of changes:
 ChangeLog                              |    6 ++++++
 NEWS                                   |    2 +-
 sysdeps/ieee754/ldbl-128ibm/s_log1pl.c |    2 +-
 3 files changed, 8 insertions(+), 2 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]