18 releases

0.3.6 Jan 1, 2023
0.3.5 Sep 3, 2022
0.3.1 Jan 17, 2022
0.2.8 Jan 10, 2022
0.1.1 Sep 26, 2021

#667 in Math

42 downloads per month
Used in 2 crates (via inertia-core)

MIT/Apache and LGPL-3.0+

8MB
202K SLoC

C 190K SLoC // 0.1% comments Rust 12K SLoC // 0.0% comments Python 263 SLoC // 0.4% comments

arb-sys

Rust bindings to the Arb library.

Arb is a C library for rigorous real and complex arithmetic with arbitrary precision.

Usage

See the documentation. This crate is available on crates.io.

Optional features

  • disable-make-check: this can reduce compilation time significantly.

Notes

  • As of version 0.3.0 the Arb source files are now included and the library is compiled automatically. The files are cached to avoid unnecessary compilations.

  • Some binding arguments may be marked mutable instead of const. See issue 2 for details. They are being manually updated over time, but feel free to correct any bindings and make a pull request if you would like certain ones fixed right away.


lib.rs:

Bindings for the ARB library.

Dependencies

~41MB
~1M SLoC