interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / tools / exp445 / arms / examples / nibble_mirror / prompt

3 lines · 217 bytes Raw Blame History
1Write a function nibble_mirror that takes an unsigned 16-bit number x and returns true when its four
24-bit groups read the same from both ends: bits 0-3 equal bits 12-15, and bits 4-7 equal bits 8-11.
3It never traps.