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