Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/tests/universal/arithmetic.c # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / tests / universal / arithmetic.c` 12 lines ยท 383 bytes Raw Blame History 1 /* Independent C17 development oracle. Not an Omega runtime. */ 2 #include 3 #include 4 #include 5 int main(void) { 6 uint64_t a, b; 7 while (scanf("%" SCNu64 " %" SCNu64, &a, &b) == 2) { 8 if (!b) return 2; 9 printf("%" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64 "\n", a + b, a - b, a * b, a / b); 10 } 11 return ferror(stdin) ? 3 : 0; 12 }