|
|
1.1 root 1: .\" @(#)hypot.3 6.1 (Berkeley) 5/15/85
2: .\"
3: .TH HYPOT 3M "May 15, 1985"
4: .AT 3
5: .SH NAME
6: hypot, cabs \- Euclidean distance
7: .SH SYNOPSIS
8: .nf
9: .B #include <math.h>
10: .PP
11: .B double hypot(x, y)
12: .B double x, y;
13: .PP
14: .B double cabs(z)
15: .B struct { double x, y;} z;
16: .fi
17: .SH DESCRIPTION
18: .I Hypot
19: and
20: .I cabs
21: return
22: .PP
23: .IP
24: sqrt(x*x + y*y),
25: .LP
26: taking precautions against unwarranted overflows.
27: .SH SEE ALSO
28: exp(3M) for
29: .I sqrt
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.