13 unstable releases (3 breaking)

Uses old Rust 2015

0.5.0 May 27, 2017
0.4.0 Dec 30, 2016
0.3.2 Aug 8, 2016
0.3.1 Apr 20, 2016
0.2.3 Jul 6, 2015

#1396 in Math

Download history 254/week @ 2023-12-14 219/week @ 2023-12-21 121/week @ 2023-12-28 174/week @ 2024-01-04 206/week @ 2024-01-11 164/week @ 2024-01-18 148/week @ 2024-01-25 117/week @ 2024-02-01 121/week @ 2024-02-08 173/week @ 2024-02-15 190/week @ 2024-02-22 149/week @ 2024-02-29 147/week @ 2024-03-07 189/week @ 2024-03-14 165/week @ 2024-03-21 144/week @ 2024-03-28

659 downloads per month
Used in 9 crates (8 directly)

MIT license

78KB
2.5K SLoC

Build Status

Documentation

The following functions are intentionally left out of the bindings:

  • gmp_randinit (not thread-safe, obsolete)
  • mpz_random (not thread-safe, obsolete)
  • mpz_random2 (not thread-safe, obsolete)
  • mpf_set_default_prec (not thread-safe)
  • mpf_get_default_prec (not thread-safe)
  • mpf_init (not thread-safe)
  • mpf_inits (not thread-safe, va_list wrapper)
  • mpf_clears (va_list wrapper)
  • mpf_swap (no better than rust's swap)
  • mpf_set_prec_raw (could be exposed with an unsafe function if needed)
  • mpz_inits (va_list wrapper)
  • mpz_clears (va_list wrapper)
  • mpz_swap (no better than rust's swap)
  • mpq_inits (va_list wrapper)
  • mpq_clears (va_list wrapper)
  • mpq_swap (no better than rust's swap)

Dependencies

~285KB