[Webkit-unassigned] [Bug 129486] Implement Math.hypot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 17 09:50:33 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=129486





--- Comment #27 from Darin Adler <darin at apple.com>  2014-03-17 09:50:54 PST ---
(In reply to comment #25)
> - Yes, we need this case, because if isn't there, the result will be NaN, instead of Infinity, if there were a NaN before.

I believe that is correct behavior. If any argument is NaN the overall result should be NaN, even if another argument is Infinity. That’s the general rule about NaN for all contexts. Could you point me to documentation that proves otherwise?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list