hypot() Mathematics Function hypot() Compute hypotenuse of right triangle #include <math.h> double hypot(x, y) double x, y; hypot computes the hypotenuse, or distance from the origin, of its arguments x and y. The result is the square root of the sum of the squares of x and y. ***** Example ***** For an example of this function, see the entry for acos. ***** See Also ***** cabs(), mathematics library COHERENT Lexicon Page 1