omnet
aien-dev/omnet
Brought by drakestapleton
omnet / om / quantity / fixtures / crypto-wrap.om
| 1 | note Ordinary modular crypto words remain legal. This is arithmetic compatibility not crypto qualification. |
| 2 | fn main to int |
| 3 | word = add ulong 18446744073709551615 ulong 1 |
| 4 | if ne word ulong 0 |
| 5 | ret int 1 |
| 6 | end |
| 7 | word = mul ulong 18446744073709551615 ulong 2 |
| 8 | if ne word ulong 18446744073709551614 |
| 9 | ret int 2 |
| 10 | end |
| 11 | ret int 0 |
| 12 | end |