Skip to content
FutureBlitz

    Install

    Import std.math.scalar

    Lcm

    std.math.scalar

    function

    @PanicsAtCaller Public Function Lcm<T>(a: T, b: T): T

    The least common multiple of the two, which isn't negative: Lcm(4, 6) is 12, and 0 when either is 0. One too large for T overflows.

    std/math/scalar.fb, line 140

    Report an issue with this page or with FutureBlitz on GitHub.