hypot
Computes sqrt(x^2 + y^2)
without intermediate overflow or underflow.
Special cases:
returns
+Inf
if any of arguments is infinitereturns
NaN
if any of arguments isNaN
and the other is not infinite
Since Kotlin
1.2Computes sqrt(x^2 + y^2)
without intermediate overflow or underflow.
Special cases:
returns
+Inf
if any of arguments is infinitereturns
NaN
if any of arguments isNaN
and the other is not infinite
Since Kotlin
1.2Computes sqrt(x^2 + y^2)
without intermediate overflow or underflow.
Special cases:
returns
+Inf
if any of arguments is infinitereturns
NaN
if any of arguments isNaN
and the other is not infinite