Monadic checked arithmetic for Rust
This library provides types wrapping raw numeric types, and tracking possibility of an overflow, enforcing correct handling without possibility of panics or incorrect values (when overflow checks in release build are disabled).
[Checked
] is the main type provided by this library.
use Checked;
let a = new;
let b = new;
// Aritmetic operations can be chained like with normal types
assert!;
assert_eq!;
use ;
;