◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The hypot function calculates the length of the hypotenuse of a right triangle, given the length of the two sides <x> and <y>. A call to hypot is equivalent to the following: sqrt( x * x + y * y ); The hypotl function uses the 80-bit long double form of arguments and return values. In all other respects, it is identical to the regular function. Return Value These functions return the length of the hypotenuse. If an overflow results, hypot returns HUGE_VAL and sets errno to ERANGE. -♦-