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/19678] [ldbl-128ibm] nextafterl, nexttowardl incorrect sign of zero result


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

--- 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  7b428e744b1ae62c8f26b4e1db487230b796c984 (commit)
      from  59eda029a8a35e5f4e5cd7be0f84c6629e48ec6e (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=7b428e744b1ae62c8f26b4e1db487230b796c984

commit 7b428e744b1ae62c8f26b4e1db487230b796c984
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Feb 19 17:19:53 2016 +0000

    Fix ldbl-128ibm nextafterl, nexttowardl sign of zero result (bug 19678).

    The ldbl-128ibm implementation of nextafterl / nexttowardl returns -0
    in FE_DOWNWARD mode when taking the next value below the least
    positive subnormal, when it should return +0.  This patch fixes it to
    check explicitly for this case.

    Tested for powerpc.

        [BZ #19678]
        * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
        Ensure +0.0 is returned when taking the next value below the least
        positive value.

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

Summary of changes:
 ChangeLog                                  |    7 +++++++
 sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c |    3 +++
 2 files changed, 10 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]