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