fix to reeves fix of dgo handling (reset b_active to 1)
[unix-history] / .ref-BSD-3 / usr / man / man3 / hypot.3m
CommitLineData
e6817382
BJ
1.TH HYPOT 3M
2.SH NAME
3hypot, cabs \- euclidean distance
4.SH SYNOPSIS
5.B #include <math.h>
6.PP
7.B double hypot(x, y)
8.br
9.B double x, y;
10.PP
11.B double cabs(z)
12.br
13.B struct { double x, y;} z;
14.SH DESCRIPTION
15.I Hypot
16and
17.I cabs
18return
19.PP
20.IP "" 15n
21sqrt(x*x + y*y),
22.LP
23taking precautions against unwarranted overflows.
24.SH SEE ALSO
25exp(3) for
26.I sqrt