Initial revision
[LeanCalc.git] / help / hypot
1 NAME
2     hypot - hypotenuse of a right-angled triangle given the other sides
3
4 SYNOPSIS
5     hypot(x, y [,eps])
6
7 TYPES
8     x, y        real
9     eps         nonzero real
10
11     return      real
12
13 DESCRIPTION
14     Returns sqrt(x^2 + y^2) to the nearest multiple of eps.
15     The default value for eps is epsilon().
16
17 EXAMPLE
18     > print hypot(3, 4, 1e-6), hypot(2, -3, 1e-6)
19     5 3.605551
20
21 LIMITS
22     none
23
24 LINK LIBRARY
25     NUMBER *qhypot(NUMBER *q1, *q2, *epsilon)
26
27 SEE ALSO
28     ltol
29