This is the mail archive of the 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/19351] [ldbl-128ibm] logl inaccurate near 1

--- Comment #1 from cvs-commit at gcc dot <cvs-commit at gcc dot> ---
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  e6a6b1c3de62f3ae3f0e5ac5bdcc49a3342f03e7 (commit)
      from  f517e06ab71e07b24bf085063b0ba2d072da4a56 (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 -----------------------------------------------------------------;h=e6a6b1c3de62f3ae3f0e5ac5bdcc49a3342f03e7

commit e6a6b1c3de62f3ae3f0e5ac5bdcc49a3342f03e7
Author: Joseph Myers <>
Date:   Wed Dec 9 23:51:11 2015 +0000

    Fix ldbl-128ibm logl inaccuracy near 1 (bug 19351).

    The ldbl-128ibm implementation of logl is inaccurate for arguments
    near 1, because when deciding whether to bypass a series expansion for
    log(1+z), where z = x-1, it compares the square of z rather than z
    itself with an epsilon value.  This patch fixes that comparison, so
    eliminating the test failures for inaccuracy of logl in such cases.

    Tested for powerpc.

        [BZ #19351]
        * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
        expanding log(1+z), compare z rather than its square with epsilon
        to determine when to avoid evaluating the expansion.


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