Skip to content

Repository files navigation

dashu

English | 简体中文

dashu

Crate Docs Tests MSRV 1.68 License Book

A library set of arbitrary precision numbers (aka. big numbers) implemented in Rust. It's a Rust native alternative to GNU GMP + MPFR + MPC. It features:

  • Pure rust, full no_std support.
  • Focus on ergonomics & readability, and then efficiency.
  • Optimized speed and memory usage.
  • Current MSRV is 1.68.

Sub-crates

dashu 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.

Python package

dashu-python is a user-friendly test field for the core dashu functionalities: through the dashu-rs package on PyPI, users can try dashu's arbitrary-precision integers, rationals, floats, and complex numbers from Python to get an idea of what dashu is capable of — no Rust toolchain needed. Beyond exploring dashu, it also stands on its own as a standalone arbitrary-precision number package for the Python ecosystem.

License

Licensed under either of

at your option.

Contribution

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.

About

A library set of arbitrary precision numbers implemented in Rust.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages