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 / bench / inference_cost / tasks / task02 / reference.c

4 lines · 137 bytes Raw Blame History
1uint64_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}