2 releases

Uses old Rust 2015

0.5.1 Mar 26, 2021
0.5.0 Jun 7, 2020

#1450 in Math

Download history 2300/week @ 2024-06-17 1798/week @ 2024-06-24 1818/week @ 2024-07-01 2024/week @ 2024-07-08 2105/week @ 2024-07-15 2293/week @ 2024-07-22 1879/week @ 2024-07-29 3841/week @ 2024-08-05 2861/week @ 2024-08-12 1859/week @ 2024-08-19 2499/week @ 2024-08-26 2961/week @ 2024-09-02 1935/week @ 2024-09-09 1227/week @ 2024-09-16 1467/week @ 2024-09-23 1449/week @ 2024-09-30

6,189 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

~94–360KB