HYPOT(3M) DOMAIN/IX Reference Manual (SYS5) HYPOT(3M)
NAME
hypot - Euclidean distance function
USAGE
#include <math.h>
double hypot (x, y)
double x, y;
DESCRIPTION
Hypot returns
sqrt(x * x + y * y),
taking precautions against unwarranted overflows.
DIAGNOSTICS
When the correct value would overflow, hypot returns HUGE
and sets errno to ERANGE.
Printed 5/10/85 HYPOT-1