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 / diag-site-nest.om

18 lines · 652 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Contract section 4 lines 114-116 and erratum E7: omc-site records in emission order, iter = the 0-based
3note counters of the enclosing UNROLLED loops, outer to inner, joined by ".", or "-". Function mode; the only
4note trap sites are the unsigned divs by the run-time divisor a (OMEGESE 9.3 trap 2): line 8 (-), line 11
5note (copies 0.0 0.1 1.0 1.1), line 14 in a rolled loop inside unroll i (copies 0 1). Exact stderr exp/diag-site-nest.err.
6om2 diag
7fn f a ulong to ulong
8s = div 7 a
9for i ulong 2 unroll
10for j ulong 2 unroll
11s = add s div add i j a
12end
13for k ulong 2
14s = add s div k a
15end
16end
17ret s
18end