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

#1895 in Math

Download history 182/week @ 2024-07-19 133/week @ 2024-07-26 93/week @ 2024-08-02 140/week @ 2024-08-09 103/week @ 2024-08-16 97/week @ 2024-08-23 122/week @ 2024-08-30 81/week @ 2024-09-06 81/week @ 2024-09-13 106/week @ 2024-09-20 135/week @ 2024-09-27 56/week @ 2024-10-04 78/week @ 2024-10-11 93/week @ 2024-10-18 72/week @ 2024-10-25 101/week @ 2024-11-01

349 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

~280KB