mpdec 4.0.1

wrapper for libmpdec math library
Documentation
//! # mpdec
//!
//! High-precision decimal arithmetic.
//!
//! ## Example
//!
//! ```rust
//! use mpdec::Decimal;
//! use std::str::FromStr;
//!
//! fn main() {
//!     let a = Decimal::from_str("1.2345").unwrap();
//!     let b = Decimal::from_str("2.0000").unwrap();
//!     let c = a * b;
//!     println!("Result: {}", c); // Result: 2.4690
//! }
//! ```


pub mod context;
mod decimal;
pub use decimal::*;
mod cmp;
pub mod error;
mod from;
mod math;

#[cfg(feature = "internals")]
pub use mpdec_sys;