bignumber 0.0.14

A Rust library for arbitrary-precision decimal and non-decimal arithmetic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[macro_export]
macro_rules! to_bn {
    ($exp: literal) => {
        $crate::BigNumber::of($exp)
    };
}

#[macro_export]
macro_rules! to_bn_safe {
    ($exp: literal) => {
        $crate::BigNumber::of($exp).unwrap()
    };
}