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/20151] [ldbl-128/ldbl-128ibm] j0l, j1l, y0l, y1l return sNaN for sNaN argument


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

--- 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  d73e7bdb3a9284eb437b6cd84923658e25f922f2 (commit)
      from  960be82cc2b256eded9242bd428ddd2dc4f89275 (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=d73e7bdb3a9284eb437b6cd84923658e25f922f2

commit d73e7bdb3a9284eb437b6cd84923658e25f922f2
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu May 26 20:55:03 2016 +0000

    Fix ldbl-128 j0l, j1l, y0l, y1l for sNaN argument (bug 20151).

    The ldbl-128 implementations of j0l, j1l, y0l, y1l (also used for
    ldbl-128ibm) return an sNaN argument unchanged.  This patch fixes them
    to add a NaN argument to itself to quiet it before return.

    Tested for mips64.

        [BZ #20151]
        * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
        argument to itself before returning result.
        (__ieee754_y0l): Likewise.
        * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
        (__ieee754_y1l).

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

Summary of changes:
 ChangeLog                        |    7 +++++++
 sysdeps/ieee754/ldbl-128/e_j0l.c |    4 ++--
 sysdeps/ieee754/ldbl-128/e_j1l.c |    4 ++--
 3 files changed, 11 insertions(+), 4 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]