kaven-basic - v6.0.0
    Preparing search index...

    Function LeftRotate

    • Performs a left bitwise rotation on a given number.

      Parameters

      • n: number

        The number to rotate.

      • bits: number

        The number of bits to rotate to the left.

      • OptionaltotalBits: number

        The total number of bits to consider for the rotation (defaults to 32).

      Returns number

      The result of rotating n to the left by bits positions within totalBits bits.

      4.0.0

      2025-06-27