This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15918] Unnecessary check for equality in hypotf()
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Sep 2013 13:51:28 +0000
- Subject: [Bug libc/15918] Unnecessary check for equality in hypotf()
- Auto-submitted: auto-generated
- References: <bug-15918-131 at http dot sourceware dot 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.