gmp_mpfr/
lib.rs

1// Copyright © 2016–2017 University of Malta
2
3// This program is free software: you can redistribute it and/or
4// modify it under the terms of the GNU Lesser General Public License
5// as published by the Free Software Foundation, either version 3 of
6// the License, or (at your option) any later version.
7//
8// This program is distributed in the hope that it will be useful, but
9// WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11// General Public License for more details.
12//
13// You should have received a copy of the GNU Lesser General Public
14// License and a copy of the GNU General Public License along with
15// this program. If not, see <http://www.gnu.org/licenses/>.
16
17//! # Arbitrary-precision numbers
18//!
19//! The `gmp-mpfr` crate has been replaced by [`rug`][rug]. The main
20//! features of the `rug` crate are:
21//!
22//! * big [integers][rug int] with arbitrary precision,
23//! * big [rational numbers][rug rat] with arbitrary precision,
24//! * multi-precision [floating-point numbers][rug flo] with correct
25//!   rounding, and
26//! * multi-precision [complex numbers][rug com] with correct
27//!   rounding.
28//!
29//! The crate is free software: you can redistribute it and/or modify
30//! it under the terms of the GNU Lesser General Public License as
31//! published by the Free Software Foundation, either version 3 of the
32//! License, or (at your option) any later version. See the full text
33//! of the [GNU LGPL][lgpl] and [GNU GPL][gpl] for details.
34//!
35//! [gpl]:     https://www.gnu.org/licenses/gpl-3.0.html
36//! [lgpl]:    https://www.gnu.org/licenses/lgpl-3.0.en.html
37//! [rug com]: https://docs.rs/rug/*/rug/struct.Complex.html
38//! [rug flo]: https://docs.rs/rug/*/rug/struct.Float.html
39//! [rug int]: https://docs.rs/rug/*/rug/struct.Integer.html
40//! [rug rat]: https://docs.rs/rug/*/rug/struct.Rational.html
41//! [rug]:     https://crates.io/crates/rug/