omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / tools / exp445 / arms / examples / rotl8 / prompt
| 1 | Write a function rotl8 that takes two unsigned 8-bit numbers x and k and rotates the 8 bits of x to |
| 2 | the left by k mod 8 places: bits shifted out on the left come back in on the right. It never traps. |