Module gmp_mpfr_sys::gmp
[−]
[src]
Function and type bindings for the GMP library.
Examples
use gmp_mpfr_sys::gmp; use std::mem; unsafe { let mut z = mem::uninitialized(); gmp::mpz_init(&mut z); gmp::mpz_set_ui(&mut z, 15); let u = gmp::mpz_get_ui(&z); assert_eq!(u, 15); gmp::mpz_clear(&mut z); }
Structs
mpf_t |
See: |
mpq_t |
See: |
mpz_t |
See: |
randstate_t |
See: |
Constants
CC |
See: |
CFLAGS |
See: |
LIMB_BITS |
See: |
NAIL_BITS |
See: |
NAIL_MASK |
See: |
NUMB_BITS |
See: |
NUMB_MASK |
See: |
NUMB_MAX |
See: |
VERSION |
See: |
VERSION_MINOR | |
VERSION_PATCHLEVEL |
Statics
bits_per_limb |
See: |
version |
See: |
Functions
Type Definitions
allocate_function |
See: |
bitcnt_t |
See: |
exp_t |
See: |
free_function |
See: |
limb_t |
See: |
reallocate_function |
See: |
size_t |
See: |