HYPOT(3M) UNIX Programmer's Manual HYPOT(3M)
NAME
hypot, cabs - Euclidean distance
SYNOPSIS
#include <math.h>
double hypot(x, y)
double x, y;
double cabs(z)
struct { double x, y;} z;
DESCRIPTION
_H_y_p_o_t and _c_a_b_s return
sqrt(x*x + y*y),
taking precautions against unwarranted overflows.
SEE ALSO
exp(3) for _s_q_r_t
Printed 11/10/80 1