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

#309 in Math

Download history 775/week @ 2021-06-04 643/week @ 2021-06-11 581/week @ 2021-06-18 646/week @ 2021-06-25 423/week @ 2021-07-02 366/week @ 2021-07-09 396/week @ 2021-07-16 768/week @ 2021-07-23 496/week @ 2021-07-30 710/week @ 2021-08-06 675/week @ 2021-08-13 218/week @ 2021-08-20 86/week @ 2021-08-27 141/week @ 2021-09-03 197/week @ 2021-09-10 83/week @ 2021-09-17

1,217 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

~235KB