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 / dev / dev07.omegese

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