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 / front / cases / groups4.expect

15 lines · 1201 bytes Raw Blame History
1# Expected omc results for the ng-groups-4 fixtures (NAME exit stdout-hex; - for empty stdout), worked out
2# from the semantics before running; constants from Wolfram (WolframLanguageEvaluator, 2026-11-10):
3# {2^40, BitShiftRight[4026531840,28], 2^64-1, 2^64-1, 3*2^61, Mod[BitShiftLeft[1,7],256],
4# BitShiftRight[65535,15], 2^30, 5*2^3, 2^63} -> {1099511627776, 15, 18446744073709551615 (x2),
5# 6917529027641081856, 128, 1, 1073741824, 40, 9223372036854775808}, each as 8 little-endian bytes;
6# IEEE bits of 1+2^-30, 1-2^-30, -1 (f64) -> 3ff0000000400000, 3fefffffff800000, bff0000000000000;
7# fma -> bits of -2^-60 = bc30000000000000, mul then add -> +0; operands b, c swapped (the gate mutant)
8# -> -2^-29 = be20000000000000. f32 1+2^-13, 1-2^-13, -1 -> 3f800400, 3f7ff800, bf800000; fma -> -2^-26
9# = b2800000, mul then add -> +0, swapped -> b9800000.
10sh_mix 0 00000000000100000f00000000000000ffffffffffffffffffffffffffffffff000000000000006080000000000000000100000000000000000000400000000028000000000000000000000000000080
11sh_mix_wrap 107 610a
12sh_mix_neg 107 6e0a
13sh_mix_width 107 770a
14sh_mix_sovf 101 6f0a
15fma_mix 0 00000000000030bc0000000000000000000080b2000000000000000000000000