HYPOT(3M) — MATHEMATICAL FUNCTIONS
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
Hypot and cabs return
sqrt(x∗x + y∗y),
taking precautions against unwarranted overflows.
SEE ALSO
exp(3M) for sqrt
Sun Release 3.5 — Last change: 19 January 1983