yolol_number 0.9.0

A rusty implementation of the weird-ass special number type used in yolol.
Documentation
#[cfg(test)]
mod tests;

#[macro_use]
mod utils;

mod number;
mod traits;

/// A typedef for a `YololNumber` backed by the defacto standard: an i128.
pub type YololNumber = number::YololNumber<i128>;

pub use number::conversions::from_str::error::FromStrError;

/// Import this to get the standard `YololNumber` typedef and all the traits
/// you need to perform all the operations that you could want.
pub mod prelude
{
    pub use crate::traits::YololOps;
    pub use crate::YololNumber;

    pub use crate::FromStrError;

    pub use num_traits::{
        One,
        Zero,

        NumCast,
        AsPrimitive,

        Signed,
        Bounded,

        CheckedAdd,
        CheckedSub,
        CheckedMul,
        CheckedDiv,
        CheckedRem,
    };
}