fastnum 0.7.4

Fast decimal numbers library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::bint::{cmp::cmp_impl, doc, UInt};

cmp_impl!(UInt, U);

impl<const N: usize> UInt<N> {
    #[must_use = doc::must_use_op!()]
    #[inline(always)]
    pub(crate) const fn is_max(&self) -> bool {
        // TODO
        self.0.eq(&bnum::BUint::MAX)
    }
}