From Prof. Kahan
[unix-history] / usr / src / lib / libm / common_source / hypot.3
.TH HYPOT 3M "8 May 1985"
.UC 4
.SH NAME
hypot, cabs \- Euclidean distance, complex absolute value
.SH SYNOPSIS
.nf
.B #include <math.h>
.PP
.B double hypot(x, y)
.B double x, y;
.PP
.B double cabs(z)
.B struct { double x, y;} z;
.fi
.SH DESCRIPTION
.I Hypot
and
.I cabs
return
.PP
.IP
.I sqrt(x*x+y*y),
.LP
taking precautions against unwarranted overflows.
.SH SEE ALSO
intro(3M), sqrt(3M)
.SH AUTHOR
W. Kahan