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 / omc / sites / found-rdval-16.om
| 1 | note sites: found by a one-token change of a tracked program; reaches the omc error site in rdval (code 7) |
| 2 | fn rot_left_u32 x uint k uint to uint |
| 3 | s = rem k 32 |
| 4 | if eq s 0 |
| 5 | ret x |
| 6 | end |
| 7 | hi = shl x s |
| 8 | lo = shr x (sub 32 1.5f32 |
| 9 | ret or hi lo |
| 10 | end |