#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

#107 in Math

Download history 6807/week @ 2024-07-26 6511/week @ 2024-08-02 11958/week @ 2024-08-09 10415/week @ 2024-08-16 16750/week @ 2024-08-23 10500/week @ 2024-08-30 15627/week @ 2024-09-06 6521/week @ 2024-09-13 15697/week @ 2024-09-20 21140/week @ 2024-09-27 6176/week @ 2024-10-04 14529/week @ 2024-10-11 13853/week @ 2024-10-18 12057/week @ 2024-10-25 8488/week @ 2024-11-01 20307/week @ 2024-11-08

58,274 downloads per month
Used in 55 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–8.5MB
~62K SLoC