dashu-ratio 0.6.0

Arbitrary-precision rational math library for Rust. Provides RBig and a relaxed variant for fast computation, with small values inlined on the stack. Exact arithmetic, Diophantine approximation of floats, parsing and formatting in any base including repeating-decimal notation, and conversions to and from other dashu types. Optional serde, rand, num-traits, rkyv, and zeroize.
Documentation
1
2
3
4
5
//! Re-exported relevant operator traits from `dashu-base`

pub use dashu_base::math::EstimatedLog2;
pub use dashu_base::ring::{DivEuclid, DivRemEuclid, RemEuclid};
pub use dashu_base::sign::Abs;