Type Definition typenum::consts::N1[][src]

type N1 = NInt<U1>;

Trait Implementations

impl<U: Unsigned> Pow<NInt<UInt<U, B0>>> for N1[src]

(-1)^N = 1 if N is even

type Output = P1

The result of the exponentiation.

fn powi(self, _: NInt<UInt<U, B0>>) -> Self::Output[src]

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[src]

(-1)^N = -1 if N is odd

type Output = N1

The result of the exponentiation.

fn powi(self, _: NInt<UInt<U, B1>>) -> Self::Output[src]

This function isn’t used in this crate, but may be useful for others. It is implemented for primitives. Read more