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 / ng / tests / ir / x-ovf64ok.om

8 lines · 203 bytes Raw Blame History
1note x-ovf64ok: i64 add reaches exactly the maximum 2^63-1 without a trap; exit = its low byte
2fn f a long b long to long
3ret add a b
4end
5fn main to int
6x = f 9223372036854775806 1
7ret int and x 255
8end