[go: up one dir, main page]

Today I Learned

tags


2025/11/24

That there’s a “rotate bits left” instruction in all major instruction sets:

Rust exposes this as a safe const by-copy method on numeric primitive types: https://doc.rust-lang.org/std/primitive.u32.html#method.rotate_left