hypot
Purpose
Computes the euclidean distance function.
Library
Math Library (libm.a)
Syntax
#include <math.h>
double hypot (x, y)
double x, y;
Description
The hypot subroutine takes precautions against overflows
while computing the value of: sqrt(x(2) + y(2)).
If the correct value does overflow, then hypot returns
HUGE and sets errno to ERANGE.
You can change the error-handling procedures by supplying
a matherr subroutine. See "matherr" for more informa-
tion.
Related Information
In this book: "exp, log, log10, pow, sqrt."