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-break-nested-om1.om

18 lines · 586 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note OM-1 TWIN of unroll-break-nested.om for the pinned compiler 734f0a39: same expectation.
3note Contract section 4 line 90 and erratum E7: a break whose innermost loop is a ROLLED loop nested in an
4note unrolled body is allowed and leaves the rolled loop. Each of the 4 copies adds 1 once: exit 4.
5note Twins unroll-break-nested-rolled.om / -om1.om, same expectation (oracle/s3s4/exp).
6note OM-1 unit: this line replaces the om2 line
7fn main to int
8s = ulong 0
9for i ulong 4
10for j ulong 3
11if eq j 1
12break
13end
14s = add s 1
15end
16end
17ret int s
18end