#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

#102 in Math

Download history 13282/week @ 2024-08-18 16645/week @ 2024-08-25 10452/week @ 2024-09-01 12525/week @ 2024-09-08 10669/week @ 2024-09-15 12538/week @ 2024-09-22 20356/week @ 2024-09-29 6163/week @ 2024-10-06 17504/week @ 2024-10-13 11277/week @ 2024-10-20 14529/week @ 2024-10-27 5832/week @ 2024-11-03 31372/week @ 2024-11-10 32122/week @ 2024-11-17 8263/week @ 2024-11-24 24214/week @ 2024-12-01

96,222 downloads per month
Used in 59 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