Type Definition N1
Other items intypenum
pub type N1 = NInt<U1>;
impl<U: Unsigned> Pow<NInt<UInt<U, B0>>> for N1
(-1)^N = 1 if N is even
type Output = P1
The result of the exponentiation.
fn powi(self, _: NInt<UInt<U, B0>>) -> Self::Output
This function isn’t used in this crate, but may be useful for others. It is implemented for primitives. Read more
impl<U: Unsigned> Pow<NInt<UInt<U, B1>>> for N1
(-1)^N = -1 if N is odd
type Output = N1
fn powi(self, _: NInt<UInt<U, B1>>) -> Self::Output