Extended precision integer Rust library. Provides signed/unsigned integer 256 to 2048.
text
[dependencies]
eint = "0.1"
```rs use eint::{E256, Eint};
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); println!("a.ctz = {:?}", a.ctz()); } ```
```sh
$ cargo test
$ cargo +nightly fuzz run arithe64 $ cargo +nightly fuzz run arithe256
$ cargo bench ```
mohanson@outlook.com
MIT.