Skip to content
FutureBlitz

    Install

    Import std.math.numbers

    Integer

    std.math.numbers

    interface

    Public Interface Integer Extends Bounded

    The eight integer types, whose bits generic code works on through a UInt64.

    std/math/numbers.fb, line 104

    • Static Method BitWidth(): Int static method #

      How many bits the type has: 8, 16, 32, or 64.

    • Static Method LowBits(value: Self): UInt64 static method #

      The value's bits, BitWidth of them, in a UInt64's low bits, the rest 0.

    • Static Method FromLowBits(bits: UInt64): Self static method #

      The value whose bits are the low BitWidth of bits.

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