bit.rorΒΆ

rotate x[:n] right by 1-bit

SignatureΒΆ

def ror n, x @ temp_bit { ... }

Defined in bit/shifts.fj β€” lines 48–55 (view on GitHub).

ComplexityΒΆ

  • Time: n(2@-1)

  • Space: n(2@-1)

See the complexity glossary for what @, w, dw, dbit, n mean.

SourceΒΆ

Depends onΒΆ


← Previous: bit.shl/3 Next: bit.rol β†’