rust-gmp | ibig-rs | |
---|---|---|
1 | 5 | |
33 | 99 | |
- | - | |
0.0 | 6.5 | |
over 9 years ago | 6 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-gmp
-
Best library for multiplication of big unsigned integers
rug and rust-gmp were significantly faster than everything else, which also mirrors my experiences.
ibig-rs
-
Multiple precision floating point library
Have you performed benchmarks for this? I imagine it would be nice to have something similar to the big integer benchmarks provided by ibig.
-
Announcing Malachite, a new arbitrary-precision arithmetic library
I'm adding your crate to the bigint benchmark, you can find some results on the PR page.
-
What's the best library for long number division?
rug requires libc and GMP (which may be a good or bad thing depending on needs), and ramp requires nightly and is no longer maintained. For big integers, ibig has worked out for me with other operations, but I haven't looked closely at what its strategy is for division is yet.
-
Best library for multiplication of big unsigned integers
Checkout https://github.com/tczajka/ibig-rs — it’s a pure Rust crate which builds on stable, and is pretty fast.
What are some alternatives?
ncollide - 2 and 3-dimensional collision detection library in Rust.
bigint-benchmark-rs - Bechmarks for Rust big integer implementations
QuantMath - Financial maths library for risk-neutral pricing and risk
gmp-wasm - Fork of the GNU Multiple Precision Arithmetic Library (GMP), suitable for compilation into WebAssembly.
rulinalg - A linear algebra library written in Rust
Rust-CAS - Rust Computer Algebra library
crates.io - The Rust package registry
cgmath-rs - A linear algebra and mathematics library for computer graphics.
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
nphysics - 2 and 3-dimensional rigid body physics engine for Rust.
Random - Repository of Random, Useful, or Novel Functions