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

dashu-ratio

There is currently very little information to present on this page because Docs.rs has only limited support for extracting structured feature metadata from Cargo crates. This issue is tracked in Rust RFC #3416. Check this library's main docs, readme, and Cargo.toml in case its authors have documentation for features available there instead.

This version has 14 feature flags, 3 of them enabled by default.

default

dashu-float (default)

num-order (default)

  • dep:_num-modular (default)
  • dep:num-order (default)

std (default)

num-traits

num-traits_v02

rand

rand_v010

rand_v08

rand_v09

rkyv

rkyv_v07

rkyv_v08

serde

zeroize