#bignum #string-conversion #numeric

malachite

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

10 releases

0.4.7 Apr 12, 2024
0.4.6 Apr 4, 2024
0.4.5 Feb 12, 2024
0.4.4 Oct 29, 2023
0.3.0 Oct 18, 2022

#153 in Math

Download history 4725/week @ 2024-01-01 5653/week @ 2024-01-08 5173/week @ 2024-01-15 9740/week @ 2024-01-22 5911/week @ 2024-01-29 8755/week @ 2024-02-05 9863/week @ 2024-02-12 3208/week @ 2024-02-19 10116/week @ 2024-02-26 5596/week @ 2024-03-04 11744/week @ 2024-03-11 9219/week @ 2024-03-18 14042/week @ 2024-03-25 16033/week @ 2024-04-01 6698/week @ 2024-04-08 7677/week @ 2024-04-15

44,632 downloads per month
Used in 34 crates (5 directly)

LGPL-3.0-only

6.5MB
125K 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 functions that are currently implemented are thoroughly tested and documented, with the exception of string conversion functions. The current string conversions are incomplete and will be changed in the future to match MPFR's behavior.

https://www.malachite.rs/

Copyright © 2024 Mikhail Hogrefe

Dependencies

~2–3MB
~48K SLoC