function | since v1.11.50 | Edit |
(hypot x y)
Returns sqrt(x^2 + y^2) without intermediate underflow or overflow. If x or y is ##Inf or ##-Inf => ##Inf If x or y is ##NaN and neither is ##Inf or ##-Inf => ##NaN See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot
(defn ^number hypot
{:added "1.11.10"}
[x y] (Math/hypot x y))