Source code
Revision control
Copy as Markdown
Other Tools
[Error]
enum ArithmeticError {
"IntegerOverflow",
};
namespace arithmetic {
[Throws=ArithmeticError]
u64 add(u64 a, u64 b);
[Throws=ArithmeticError]
u64 sub(u64 a, u64 b);
u64 div(u64 dividend, u64 divisor);
boolean equal(u64 a, u64 b);
};