failed attempts to intercept copy command when the cursor is in the empty text field...
[LeanCalc.git] / help / gcd
1 NAME
2     gcd - greatest common divisor of a set of rational numbers
3
4 SYNOPSIS
5     gcd(x1, x2, ...)
6
7 TYPES
8     x1, x2, ... rational number
9
10     return      rational number
11
12 DESCRIPTION
13     If at least one xi is nonzero, gcd(x1, x2, ...) is the
14     greatest positive number g for which each xi is a multiple of g.
15     If all xi are zero, the gcd is zero.
16
17 EXAMPLE
18     > print gcd(12, -24, 30), gcd(9/10, 11/5, 4/25), gcd(0,0,0,0,0)
19     6 .02 0
20
21 LIMITS
22     The number of arguments may not to exceed 100.
23
24 LINK LIBRARY
25     NUMBER *qgcd(NUMBER *x1, NUMBER *x2)
26
27 SEE ALSO
28     lcm
29