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 / bench / inference_cost / tasks / task02 / reference.c
| 1 | uint64_t absdiff_i32(int32_t a, int32_t b) { |
| 2 | int64_t d = (int64_t)a - (int64_t)b; |
| 3 | return d < 0 ? (uint64_t)(-d) : (uint64_t)d; |
| 4 | } |