1HYPOT(3M)                                                            HYPOT(3M)
2
3
4

NAME

6       hypot, cabs - euclidean distance
7

SYNOPSIS

9       #include <math.h>
10
11       double hypot(x, y)
12       double x, y;
13
14       double cabs(z)
15       struct { double x, y;} z;
16

DESCRIPTION

18       Hypot and cabs return
19
20                      sqrt(x*x + y*y),
21
22       taking precautions against unwarranted overflows.
23

SEE ALSO

25       exp(3) for sqrt
26
27
28
29                                                                     HYPOT(3M)
Impressum