Decision Workspace
bigdecimal vs dashu-float vs dashu-cmplx
Side-by-side comparison of Rust crates
Arbitrary precision decimal numbers
Arbitrary-precision float math library for Rust with arbitrary base and arbitrary rounding mode. Provides FBig, DBig, and CachedFBig with efficient base conversion, the hexadecimal float format used by C++ programs, and parsing and formatting in base 2-36. Transcendentals (exp, ln, trig, hyperbolic, powers, roots, pi) are correctly rounded; optional serde, rand, num-traits, rkyv, and zeroize.
An arbitrary-precision complex math library for Rust — the Rust-native alternative to GNU MPC. Provides CBig and CachedCBig, built on dashu-float's FBig, with field arithmetic, elementary transcendentals, and abs/arg/conj/proj plus I/O, following the C99 Annex G / Kahan branch-cut and signed-zero model. Optional serde, rand, num-traits, rkyv, zeroize, and num-complex interop.
Core Metrics
| bigdecimal | dashu-float | dashu-cmplx | |
|---|---|---|---|
| Health Score | 64 | 65 | 55 |
| Total Downloads | 127.1M | 3.2M | 19.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 11.4K | 214 | 17 |
| Releases | 27 | 21 | 9 |
| Last Updated | 12d ago | 8d ago | 8d ago |
| Age | 9y 6m | 4y | 3m |
Health Breakdown
Technical Details
| bigdecimal | dashu-float | dashu-cmplx | |
|---|---|---|---|
| Version | 0.4.11 | 0.6.2 | 0.6.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 10 | 27 | 25 |
| Crate Size | 131KB | 311KB | 109KB |
| Features | 4 | 18 | 15 |
| Yanked % | 3.7% | 4.8% | 0.0% |
| Edition | 2015 | 2021 | 2021 |
| MSRV | — | 1.68 | 1.68 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dashu-float leads with a health score of 65/100, but none of the options score above 80.
- •bigdecimal has the most downloads (127.1M), suggesting wider adoption.
- •bigdecimal is depended on by 11.4K crates — strongest ecosystem trust.