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 / stablehlo / refuse.unit.om

19 lines · 298 bytes Raw Blame History
1note Functions irstablehlo must refuse with an empty stdout.
2fn divi32 a int b int to int
3ret div a b
4end
5fn shlu32 a uint b uint to uint
6ret shl a b
7end
8fn maxi32 a int b int to int
9if gt a b
10ret a
11end
12ret b
13end
14fn widen a uint to ulong
15ret ulong a
16end
17fn isodd a int to bool
18ret ne and a 1 0
19end