bignumber 0.0.14

A Rust library for arbitrary-precision decimal and non-decimal arithmetic
Documentation
#![doc = include_str!("../README.md")]
mod add;
mod bignumber;
mod convert;
mod div;
#[cfg(feature = "ethers")]
mod ethers_types;
mod exp;
mod fmt;
mod macros;
mod mul;
mod primitive_types;
mod serde;
mod sub;

pub type BigNumber = bignumber::BigNumber;

#[derive(Debug)]
pub enum BigNumberError {
    ParseError,
}

impl std::fmt::Display for BigNumberError {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match *self {
            BigNumberError::ParseError => "failed to parse".fmt(f),
        }
    }
}