Proposal: checked arithmetic operations for `Int` and `Int64`
yj-qin opened this issue · comments
We need some checked operations to prevent overflow when doing arithmetic operations, such as checked_add
and checked_sub
.
MoonBit's Core library
yj-qin opened this issue · comments
We need some checked operations to prevent overflow when doing arithmetic operations, such as checked_add
and checked_sub
.