hypot
hypot
Calculate the length of the hypotenuse of a right-angle triangle
float **hypot** float $x float $y
returns the length of the hypotenuse of a
right-angle triangle with sides of length and
, or the distance of the point
(, ) from the origin.
This is equivalent to .
hypot``x``y``x``y``sqrt($x*$x + $y*$y)
xLength of first side
yLength of second side
Calculated length of the hypotenuse