

hypot()                Mathematics Function               hypot()




Compute hypotenuse of right triangle

#include <math.h>
ddoouubbllee hhyyppoott(_x, _y) ddoouubbllee _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


