rithm 14.8.0

Arbitrary precision arithmetic.
Documentation
1
2
3
4
5
6
7
8
9
use crate::traits::HasSignBit;

pub(crate) const fn is_signed<T: HasSignBit>() -> bool {
    T::RESULT
}

pub(crate) const fn is_unsigned<T: HasSignBit>() -> bool {
    !T::RESULT
}