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 / tests / one_layer / generalization / corpus / specs / max4.spec

5 lines · 343 bytes Raw Blame History
1desc largest of the four unsigned 32-bit values of a 4-value sequence
2pre true
3post and and and and ge res get v 0 ge res get v 1 ge res get v 2 ge res get v 3 or or or eq res get v 0 eq res get v 1 eq res get v 2 eq res get v 3
4example 2 9 9 1 -> 9
5limit fixed length 4; returns the largest value only, not its position or the second largest