2 releases

Uses old Rust 2015

0.5.1 Mar 26, 2021
0.5.0 Jun 7, 2020

#1484 in Math

Download history 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 1437/week @ 2024-10-07 1469/week @ 2024-10-14 1246/week @ 2024-10-21 1159/week @ 2024-10-28 2035/week @ 2024-11-04

6,049 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–355KB