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
omega-mv / seed / qualification / om2 / sec / s3s4 / diag-site-rolled-plain.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note diag-site-rolled.om with om2 instead of om2 diag (same artifact expected). |
| 3 | note |
| 4 | note |
| 5 | note |
| 6 | om2 |
| 7 | fn f a ulong to ulong |
| 8 | s = ulong 0 |
| 9 | for i ulong 3 |
| 10 | s = add s div i a |
| 11 | end |
| 12 | ret s |
| 13 | end |