#bignum #string-conversion #numeric

malachite

Arbitrary-precision arithmetic, with efficient algorithms partially derived from GMP and FLINT

19 releases

0.4.16 Sep 5, 2024
0.4.14 Jun 22, 2024
0.4.5 Feb 12, 2024
0.4.4 Oct 29, 2023
0.3.0 Oct 18, 2022

#111 in Math

Download history 7209/week @ 2024-08-03 10869/week @ 2024-08-10 13607/week @ 2024-08-17 16493/week @ 2024-08-24 9965/week @ 2024-08-31 13080/week @ 2024-09-07 10663/week @ 2024-09-14 12606/week @ 2024-09-21 20365/week @ 2024-09-28 6183/week @ 2024-10-05 17131/week @ 2024-10-12 11694/week @ 2024-10-19 14399/week @ 2024-10-26 5836/week @ 2024-11-02 27451/week @ 2024-11-09 34877/week @ 2024-11-16

84,184 downloads per month
Used in 56 crates (10 directly)

LGPL-3.0-only

7MB
131K SLoC

Logo

An arbitrary-precision arithmetic library for Rust.

Parts of Malachite are derived from GMP, FLINT, and MPFR.

Floats (arbitrary-precision floating-point numbers) are in development and are currently experimental. They are missing many important functions. However, the floating-point functions that are currently implemented are thoroughly tested and documented, with the exception of string conversion functions. The current floating-point string conversion functions are incomplete and will be changed in the future to match MPFR's behavior.

Malachite is developed by Mikhail Hogrefe. Thanks to Rowan Hart, YunWon Jeong, Park Joon-Kyu, Antonio Mamić, John Vandenberg, b4D8, florian1345, konstin, OliverNChalk, and shekohex for additional contributions.

https://www.malachite.rs/

Copyright © 2024 Mikhail Hogrefe

Dependencies

~2.2–8MB
~61K SLoC