Next: , Previous: , Up: syslib numerics   [Index]


12.10.12 Least common multiple

Unsafe Operation: $lcm-number x

Return the least common multiple of standalone x, an exact or inexact integer; return a fixnum, bignum or flonum.

Unsafe Operation: $lcm-number-number x1 x2

Return the least common multiple between any couple of exact and inexact integers; return a fixnum, bignum or flonum.

Exact or inexact integer as second argument

Unsafe Operation: $lcm-fixnum-number fx x

Return the least common multiple between a fixnum and any exact or inexact integer; return a fixnum, bignum or flonum.

Unsafe Operation: $lcm-bignum-number bn x

Return the least common multiple between a bignum and any exact or inexact integer; return a fixnum, bignum or flonum.

Unsafe Operation: $lcm-flonum-number fl x

Return the least common multiple between a flonum and any exact or inexact integer; return a fixnum, bignum or flonum.

Exact or inexact integer as first argument

Unsafe Operation: $lcm-number-fixnum x fx

Return the least common multiple between any exact or inexact integer and a fixnum; return a fixnum, bignum or flonum.

Unsafe Operation: $lcm-number-bignum x bn

Return the least common multiple between any exact or inexact integer and a bignum; return a fixnum, bignum or flonum.

Unsafe Operation: $lcm-number-flonum x fl

Return the least common multiple between any exact or inexact integer and a flonum; return a fixnum, bignum or flonum.

Fixnum as first argument

Unsafe Operation: $lcm-fixnum-fixnum fx1 fx2

Return the least common multiple between a fixnum and a fixnum; return a fixnum or bignum.

Unsafe Operation: $lcm-fixnum-bignum fx bn

Return the least common multiple between a fixnum and a bignum; return a fixnum or bignum.

Unsafe Operation: $lcm-fixnum-flonum fx fl

Return the least common multiple between a fixnum and a flonum; return a flonum.

Bignum as first argument

Unsafe Operation: $lcm-bignum-fixnum bn fx

Return the least common multiple between a bignum and a fixnum; return a fixnum or bignum.

Unsafe Operation: $lcm-bignum-bignum bn1 bn2

Return the least common multiple between a bignum and a bignum; return a bignum.

Unsafe Operation: $lcm-bignum-flonum bn fl

Return the least common multiple between a bignum and a flonum; return a flonum.

Flonum as first argument

Unsafe Operation: $lcm-flonum-fixnum fl fx

Return the least common multiple between a flonum and a fixnum; return a flonum.

Unsafe Operation: $lcm-flonum-bignum fl bn

Return the least common multiple between a flonum and a bignum; return a flonum.

Unsafe Operation: $lcm-flonum-flonum fl1 fl2

Return the least common multiple between a flonum and a flonum; return a flonum.


Next: , Previous: , Up: syslib numerics   [Index]