2 releases

Uses old Rust 2015

0.5.1 Mar 26, 2021
0.5.0 Jun 7, 2020

#525 in Math

Download history 2142/week @ 2024-01-07 2406/week @ 2024-01-14 2128/week @ 2024-01-21 2759/week @ 2024-01-28 3026/week @ 2024-02-04 2559/week @ 2024-02-11 2467/week @ 2024-02-18 3112/week @ 2024-02-25 2252/week @ 2024-03-03 3032/week @ 2024-03-10 4166/week @ 2024-03-17 2955/week @ 2024-03-24 2945/week @ 2024-03-31 1971/week @ 2024-04-07 1686/week @ 2024-04-14 2314/week @ 2024-04-21

9,087 downloads per month
Used in 23 crates (6 directly)

MIT license

82KB
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

~98–375KB