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/20227] [i386/x86_64] logl (sNaN) returns sNaN


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

--- 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  df179d88080ad7a733edccc655cf5f6bbec6f8fc (commit)
      from  9bd3ef8e19b19fb3cfcf99a33a1493035891b990 (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=df179d88080ad7a733edccc655cf5f6bbec6f8fc

commit df179d88080ad7a733edccc655cf5f6bbec6f8fc
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jun 8 22:24:06 2016 +0000

    Fix i386/x86_64 logl (sNaN) (bug 20227).

    The i386/x86_64 versions of logl 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 (including a build for i586 to cover the
    non-i686 logl version).

        [BZ #20227]
        * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
        itself.
        * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
        * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
        * math/libm-test.inc (log_test_data): Add sNaN tests.

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

Summary of changes:
 ChangeLog                      |    7 +++++++
 math/libm-test.inc             |    2 ++
 sysdeps/i386/fpu/e_logl.S      |    1 +
 sysdeps/i386/i686/fpu/e_logl.S |    1 +
 sysdeps/x86_64/fpu/e_logl.S    |    1 +
 5 files changed, 12 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]