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 / tests / one_layer / omegese / nested / dev07.omegese

11 lines · 132 bytes Raw Blame History
1fn isqrt x uint to uint
2v = ulong x
3r = ulong 0
4for i ulong 16
5c = or r shl 1 sub 15 i
6if le mul c c v
7r = c
8end
9end
10ret uint r
11end