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 / rot-mixed-uint-ulong.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note Contract section 3 lines 76-77: n must have x's type. x uint, n ulong: error 7 at line 7. |
| 3 | om2 |
| 4 | fn main to int |
| 5 | x = uint 5 |
| 6 | n = ulong 1 |
| 7 | y = rotr x n |
| 8 | ret 0 |
| 9 | end |