public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bugdal at aerifal dot cx" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/15918] Unnecessary check for equality in hypotf()
Date: Mon, 02 Sep 2013 13:51:00 -0000	[thread overview]
Message-ID: <bug-15918-131-cgsYrtcM7j@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15918-131@http.sourceware.org/bugzilla/>

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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #4 from Rich Felker <bugdal at aerifal dot cx> ---
Andreas, in the case of hypot(NAN,INFINITY), (ha == 0x7f800000) is false, so
that branch won't be taken, and (hb == 0x7f800000) is true, but in that case,
fabs(y) gives the right value no matter what the value of x is. I think the
original bug report is likely correct. It's just not as "obvious" as the
reporter considered it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


  parent reply	other threads:[~2013-09-02 13:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-01 21:37 [Bug libc/15918] New: " pipping at exherbo dot org
2013-09-02  4:09 ` [Bug libc/15918] " bugdal at aerifal dot cx
2013-09-02  9:23 ` pipping at exherbo dot org
2013-09-02 13:51 ` bugdal at aerifal dot cx [this message]
2014-02-07  2:59 ` [Bug math/15918] " jsm28 at gcc dot gnu.org
2014-06-13 12:58 ` fweimer at redhat dot com
2015-09-15 17:25 ` jsm28 at gcc dot gnu.org
2015-09-15 17:25 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15918-131-cgsYrtcM7j@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).