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/15918] Unnecessary check for equality in hypotf()


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

--- Comment #5 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  694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b (commit)
      from  828bf6828b048b1482e95f84ca92e5fe0edcdc0c (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=694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b

commit 694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Sep 15 17:24:23 2015 +0000

    Simplify hypotf infinity handling (bug 15918).

    Bug 15918 points out that the handling of infinities in hypotf can be
    simplified: it's enough to return the absolute value of the infinite
    argument without first comparing it to the other argument and possibly
    returning that other argument's absolute value.  This patch makes that
    cleanup (which should not change how hypotf behaves on any input).

    Tested for x86_64.

        [BZ #15918]
        * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
        handling of cases where one argument is an infinity.

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

Summary of changes:
 ChangeLog                         |    4 ++++
 NEWS                              |   12 ++++++------
 sysdeps/ieee754/flt-32/e_hypotf.c |   12 ++----------
 3 files changed, 12 insertions(+), 16 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]