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 / hash_step / program.osc

3 lines · 71 bytes Raw Blame History
1fn hash_step(h: u32, c: u8) -> u32 {
2 return h * 31 + (c as u32);
3}