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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]