A library set of arbitrary precision numbers (aka. big numbers) implemented in Rust. It's intended to be a Rust native alternative to GNU GMP + MPFR (+ MPC in future). It features:
no_std
support.dashu-base
: Common trait definitionsdashu-int
: Arbitrary precision integersdashu-float
: Arbitrary precision floating point numbersdashu-ratio
: Arbitrary precision rational numbersdashu-macros
: Macros for creating big numbersdashu
is a meta crate that re-exports all the types from these sub-crates. Please see the README.md in each subdirectory for crate-specific introduction.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.