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
omega-mv / tests / one_layer / generalization / corpus / specs / max4.spec
| 1 | desc largest of the four unsigned 32-bit values of a 4-value sequence |
| 2 | pre true |
| 3 | post 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 |
| 4 | example 2 9 9 1 -> 9 |
| 5 | limit fixed length 4; returns the largest value only, not its position or the second largest |