fastnum2 0.3.6

fork of Fast decimal numbers library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::decimal::UnsignedDecimal;

impl<const N: usize> PartialEq for UnsignedDecimal<N> {
    #[inline]
    fn eq(&self, other: &Self) -> bool {
        self.eq(other)
    }

    #[allow(clippy::partialeq_ne_impl)]
    #[inline]
    fn ne(&self, other: &Self) -> bool {
        self.ne(other)
    }
}

impl<const N: usize> Eq for UnsignedDecimal<N> {}