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 / seed / qualification / om2 / sec / s3s4 / unroll-k65.om

13 lines · 272 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Contract section 4 line 87 (K a number 1..64) and erratum E7: K > 64 is error 8. K = 65 on line 8
3note (the for line).
4om2
5fn main to int
6s = ulong 0
7c = ulong 0
8for i ulong 65 unroll
9s = add s i
10c = add c 1
11end
12ret int c
13end