fastnum2 0.3.2

fork of Fast decimal numbers library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use core::ops::Neg;

use crate::decimal::Decimal;

impl<const N: usize> Neg for Decimal<N> {
    type Output = Self;

    #[inline]
    fn neg(self) -> Self {
        self.neg()
    }
}