mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
Release calc version 2.10.2t30
This commit is contained in:
28
help/hypot
Normal file
28
help/hypot
Normal file
@@ -0,0 +1,28 @@
|
||||
NAME
|
||||
hypot - hypotenuse of a right-angled triangle given the other sides
|
||||
|
||||
SYNOPSIS
|
||||
hypot(x, y [,eps])
|
||||
|
||||
TYPES
|
||||
x, y real
|
||||
eps nonzero real
|
||||
|
||||
return real
|
||||
|
||||
DESCRIPTION
|
||||
Returns sqrt(x^2 + y^2) to the nearest multiple of eps.
|
||||
The default value for eps is epsilon().
|
||||
|
||||
EXAMPLE
|
||||
> print hypot(3, 4, 1e-6), hypot(2, -3, 1e-6)
|
||||
5 3.605551
|
||||
|
||||
LIMITS
|
||||
none
|
||||
|
||||
LIBRARY
|
||||
NUMBER *qhypot(NUMBER *q1, *q2, *epsilon)
|
||||
|
||||
SEE ALSO
|
||||
ltol
|
Reference in New Issue
Block a user