Skip to content
FutureBlitz

    Install

    Import std.math.bits

    AlignUp

    std.math.bits

    function

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

    The value rounded up to a multiple of alignment, a power of two: AlignUp(13, 8) is 16. Any other alignment panics, and so does a multiple too large for the type.

    std/math/bits.fb, line 139

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