- The crate now requires rustc version 1.37.0 or later.
- The crate is now
no_std
. - GMP was updated from version 6.1.2 to 6.2.0.
- The implementation details of
gmp::randstate_t
have been changed to reflect that GMP can leave some fields unused and uninitialized. - The experimental feature
use-system-libs
was added.
- MPFR was updated from version 4.0.2 to 4.0.2-p1.
- The documentation examples now use
MaybeUninit
instead ofmem::uninitialized
.
- Expose the internal fields of
gmp::mpq_t
,gmp::randstate_t
andmpc::mpc_t
, and add some notes about compatibility in the documentation.
- The built C libraries are now cached.
- Update MPFR 4.0.1-p14 -> 4.0.2.
- Update MPFR 4.0.1-p13 -> 4.0.1-p14.
- During Windows build use
std::os::windows::fs::symlink_dir
to save on some copying if allowed (Windows 1703+ developer mode).
- Update MPFR 4.0.1-p11 -> 4.0.1-p13.
- Fix function parameters that should be
intmax_t
oruintmax_t
.
- Update MPFR 4.0.1-p9 -> 4.0.1-p11.
- Update MPFR 4.0.1-p6 -> 4.0.1-p9.
- Automatically work around Rust issue #47048.
- Update MPFR 4.0.1 -> 4.0.1-p6.
- Add missing GMP, MPFR and MPC functions that take a
*mut FILE
argument.
- Fix linkage of MPFR
uj
andsj
functions.
- Add missing MPFR and MPC functions with
uj
andsj
, usingc_ulonglong
andc_longlong
respectively. - Add missing MPFR
dump
function.
- Update MPFR 4.0.0 -> 4.0.1.
- Fix the type of the
tab
parameter ofmpfr::sum
to*const *mut mpfr_t
instead of*mut *mut mpfr_t
. - Document the
DEP_GMP_LIMB_BITS
build script metadata. - Add
DEP_GMP_OUT_DIR
,DEP_GMP_LIB_DIR
, andDEP_GMP_INCLUDE_DIR
build script metadata.
- Update MPFR 3.1.6-p1 -> 4.0.0.
- Update MPC 1.0.3 -> 1.1.0.
- Deprecate and hide documentation for
mpfr::rnd_t::RNDNA
;MPFR_RNDNA
is not documented by MPFR, and mpfr.h says it should not be used. - Use
c_int
instead of#[repr(C)] enum
for the private enumerated type inside#[repr(C)] struct randstate_t
.
- Update MPFR 3.1.6 -> 3.1.6-p1.
- Update MPFR 3.1.5-p9 -> 3.1.6.
- Update MPFR 3.1.5-p8 -> 3.1.5-p9.
- Bug fix: use C linkage for inline functions.
- Update MPFR 3.1.5 -> 3.1.5-p8.
- Add
gmp::mpq_numref_const()
,gmp::mpq_denref_const()
,mpc::realref_const()
andmpc::imagref_const()
. - Add inline version of functions which are inline in gmp.h, mpfr.h.
- Bug fix:
gmp::mpz_even_p()
.
- Add features
mpfr
andmpc
, which are enabled by default, to allow opting out of the MPFR and MPC libraries.
- Expliciltly link to gcc_eh and pthread under MinGW.
- GMP 6.1.2, MPFR 3.1.5, MPC 1.0.3