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-ovf64.om

9 lines · 184 bytes Raw Blame History
1note x-ovf64: i64 add reaches the maximum (2^63-1), then one more traps 1
2fn f a long b long to long
3ret add a b
4end
5fn main to int
6x = f 9223372036854775806 1
7y = f x 1
8ret int y
9end