failed attempts to intercept copy command when the cursor is in the empty text field...
[LeanCalc.git] / help / lcm
1 NAME
2     lcm - least common multiple of a set of rational numbers
3
4 SYNOPSIS
5     lcm(x1, x2, ...)
6
7 TYPES
8     x1, x2, ... rational number
9
10     return      rational number
11
12 DESCRIPTION
13     Compute the least common multiple of one or more rational numbers.
14
15     If no xi is zero, lcm(x1, x2, ...) is the least positive number v
16     for which v is a multiple of each xi.  If at least one xi is zero,
17     the lcm is zero.
18
19 EXAMPLE
20     > print lcm(12, -24, 30), lcm(9/10, 11/5, 4/25), lcm(2)
21     -120 79.2 2
22
23 LIMITS
24     none
25
26 LINK LIBRARY
27     NUMBER *qlcm(NUMBER *x1, NUMBER *x2)
28
29 SEE ALSO
30     gcd
31