1HYPOT(3M) HYPOT(3M)
23
4
NAME
6hypot, cabs - euclidean distance
7
SYNOPSIS
9#include <math.h>
1011
double hypot(x, y)
12double x, y;
1314
double cabs(z)
15struct { double x, y;} z;
16
DESCRIPTION
18Hypot and cabs return
1920
sqrt(x*x + y*y),
2122
taking precautions against unwarranted overflows.
23
SEE ALSO
25exp(3) for sqrt
2627
28
29
HYPOT(3M)