Skip to main content

fastnum/bint/uint/
cmp.rs

1use crate::bint::{cmp::cmp_impl, doc, UInt};
2
3cmp_impl!(UInt, U);
4
5impl<const N: usize> UInt<N> {
6    #[must_use = doc::must_use_op!()]
7    #[inline(always)]
8    pub(crate) const fn is_max(&self) -> bool {
9        // TODO
10        self.0.eq(&bnum::BUint::MAX)
11    }
12}