hypot
This section contains reference documentation for the hypot function.
Last updated
Was this helpful?
This section contains reference documentation for the hypot function.
Returns the hypotenuse of a right-angled triangle, computed as sqrt(col1² + col2²), without intermediate overflow or underflow.
hypot(col1, col2)
col1
DOUBLE
Length of one side
col2
DOUBLE
Length of the other side
Returns: DOUBLE
SELECT hypot(3, 4) AS value
FROM myTable5.0
SELECT hypot(5, 12) AS value
FROM myTable13.0
Last updated
Was this helpful?
Was this helpful?

