Eint
Extended precision integer Rust library. Provides signed/unsigned integer 256 to 2048.
[dependencies]
eint = "0.1.3"
Usage
use eint::E256;
fn main() {
let a = E256::from(u128::MAX);
let b = E256::from(u128::MAX);
println!(" a = {:?}", a);
println!(" b = {:?}", a);
println!("a + b = {:?}", a + b);
println!("a - b = {:?}", a - b);
println!("a * b = {:?}", a * b);
println!("a / b = {:?}", a / b);
}
Test
$ cargo test
Maintainer
License
MIT.