Module gmp_mpfr_sys::mpfr
[−]
[src]
Function and type bindings for the MPFR library.
Examples
use gmp_mpfr_sys::mpfr; use std::mem; let one_third = 1.0_f64 / 3.0; unsafe { let mut f = mem::uninitialized(); mpfr::init2(&mut f, 53); let dir = mpfr::set_d(&mut f, one_third, mpfr::rnd_t::RNDN); assert_eq!(dir, 0); let d = mpfr::get_d(&f, mpfr::rnd_t::RNDN); assert_eq!(d, one_third); mpfr::clear(&mut f); }
Structs
mpfr_t |
Enums
rnd_t |
See: |
Constants
Functions
Type Definitions
exp_t | |
prec_t |
See: |