#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

#110 in Math

Download history 7390/week @ 2024-07-23 7448/week @ 2024-07-30 7653/week @ 2024-08-06 10519/week @ 2024-08-13 14540/week @ 2024-08-20 14681/week @ 2024-08-27 12359/week @ 2024-09-03 11322/week @ 2024-09-10 11248/week @ 2024-09-17 13556/week @ 2024-09-24 18222/week @ 2024-10-01 5954/week @ 2024-10-08 17894/week @ 2024-10-15 11866/week @ 2024-10-22 14021/week @ 2024-10-29 5289/week @ 2024-11-05

49,597 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–8MB
~62K SLoC