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/21130] Incorrect return from y0l (-inf) and y1l (-inf) when linking with -lieee


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

--- Comment #2 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  b987917e6aa7ffe2fd74f0b6a989438e6edd0727 (commit)
      from  40b7fbf27310d4f4a899aa2c54740dce5369ec70 (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=b987917e6aa7ffe2fd74f0b6a989438e6edd0727

commit b987917e6aa7ffe2fd74f0b6a989438e6edd0727
Author: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Date:   Fri Jan 6 13:05:30 2017 -0200

    ldbl-128: Fix y0 and y1 for -Inf input [BZ #21130]

    The Bessel functions of the second type (Yn) are not defined for
    negative input and should return NAN with the "invalid" exception
    raised, in these cases.  However, current code checks for infinity and
    return zero, regardless of the sign.  This error is exposed for long
    double when linking with -lieee.  Without this flag, the error is not
    exposed, because the wrappers for these functions, which use
    __kernel_standard functionality, return the correct value.

    Tested for powerpc64le.

        [BZ #21130]
        * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
        with the "invalid" exception raised when x is -Inf.
        * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.

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

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