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 / security673 / relational / evidence / run1 / division-native.src
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note Secret divisor x0; zero trap is forbidden observation. |
| 3 | fn probe s ulong to ulong |
| 4 | ret div ulong 7 s |
| 5 | end |
| 6 | note SPDX-License-Identifier: Apache-2.0 |
| 7 | fn main to int |
| 8 | ret int probe sub ulong argcnt 1 |
| 9 | end |