2.9BSD/usr/man/cat3/hypot.3m


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(3M) for _s_q_r_t

Printed 5/17/83                                                 1