Subversion Repositories planix.SVN

Rev

Rev 34 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
.TH HYPOT 2
2
.SH NAME
3
hypot \- Euclidean distance
4
.SH SYNOPSIS
5
.B #include <u.h>
6
.br
7
.B #include <libc.h>
8
.PP
9
.nf
10
.B
11
double hypot(double x, double y)
12
.fi
13
.SH DESCRIPTION
14
.I Hypot
15
returns
16
.EX
17
	sqrt(x*x + y*y)
18
.EE
19
taking precautions against unwarranted overflows.
20
.SH SOURCE
21
.B /sys/src/libc/port/hypot.c