hypot
Computes sqrt(x^2 + y^2) without intermediate overflow or underflow.
Special cases:
returns
+Infif any of arguments is infinitereturns
NaNif any of arguments isNaNand the other is not infinite
Since Kotlin
1.2Computes sqrt(x^2 + y^2) without intermediate overflow or underflow.
Special cases:
returns
+Infif any of arguments is infinitereturns
NaNif any of arguments isNaNand the other is not infinite
Since Kotlin
1.2Computes sqrt(x^2 + y^2) without intermediate overflow or underflow.
Special cases:
returns
+Infif any of arguments is infinitereturns
NaNif any of arguments isNaNand the other is not infinite
Since Kotlin
1.2Computes sqrt(x^2 + y^2) without intermediate overflow or underflow.
Special cases:
returns
+Infif any of arguments is infinitereturns
NaNif any of arguments isNaNand the other is not infinite
Since Kotlin
1.3Computes sqrt(x^2 + y^2) without intermediate overflow or underflow.
Special cases:
returns
+Infif any of arguments is infinitereturns
NaNif any of arguments isNaNand the other is not infinite
Since Kotlin
1.8Computes sqrt(x^2 + y^2) without intermediate overflow or underflow.
Special cases:
returns
+Infif any of arguments is infinitereturns
NaNif any of arguments isNaNand the other is not infinite