interplane.Get Omega
Read in your language

babel

aien-dev/babel

Brought by drakestapleton

branch main Branches Tags History

babel / examples / complete / src / arith.c

13 lines · 234 bytes Raw Blame History
1#include <stdint.h>
2
3uint64_t blend(uint64_t a, uint64_t b) {
4 return a * b + a - b;
5}
6
7uint64_t cube(uint64_t x) {
8 return x * x * x;
9}
10
11uint64_t spread(uint64_t a, uint64_t b, uint64_t c) {
12 return a * b + b * c - c * a;
13}