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

    Function RightRotate

    • Performs a right bitwise rotation on a given number.

      Parameters

      • n: number

        The number to rotate.

      • bits: number

        The number of bits to rotate to the right.

      • OptionaltotalBits: number

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

      Returns number

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

      4.0.0

      2025-06-27