A wrapper around num_bigint::BigUint
and num_bigint::BigInt
that
stays out of the heap for small values.
In the current implementation, we go to the heap for anything that doesn't fit in 32 bits.
This crate already has a lot of relevant methods, but it is not really complete yet. Patches are welcome!
std::fmt::{Binary, LowerHex, Octal, UpperHex}
(easy?)num_bigint::{ToBigInt, ToBigUint}
num_traits::ops::checked
traitsnum_integer::Integer
num_traits::Num
(easy?)num_traits::One
(easy?)std::iter::Product
num_integer::Roots
num_traits::Signed
std::iter::Sum
num_traits::Unsigned
I probably also want conversions from/to 16-bit and 8-bit types.
num_traits::pow::Pow
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in toml-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.