Skip to content
FutureBlitz

    Install

    Import std.math.bits

    AlignDown

    std.math.bits

    function

    @PanicsAtCaller Public Function AlignDown<T>(value: T, alignment: T): T

    The value rounded down to a multiple of alignment, a power of two: AlignDown(13, 8) is 8, and AlignDown(-5, 4) is -8. Any other alignment panics.

    std/math/bits.fb, line 128

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