omega-mcp
aien-dev/omega-mcp
Brought by drakestapleton
omega-mcp / data / examples / qty.om
| 1 | note a qty is an unsigned quantity whose add/sub/mul trap 1 instead of wrapping; convert with qty w and ulong q |
| 2 | fn main to int |
| 3 | q = qty 40 |
| 4 | r = add q 2 |
| 5 | ret int ulong r |
| 6 | end |