[][src]Struct softposit::p8e0::Q8E0

pub struct Q8E0(_);

Methods

impl Q8E0[src]

pub const ZERO: Self[src]

pub const NAR: Self[src]

pub const fn init() -> Self[src]

pub fn from_posit(p: P8E0) -> Self[src]

pub fn from_bits(v: u32) -> Self[src]

pub fn to_bits(&self) -> u32[src]

pub fn is_zero(&self) -> bool[src]

pub fn is_nar(&self) -> bool[src]

pub fn add_product(&mut self, p_a: P8E0, p_b: P8E0)[src]

pub fn sub_product(&mut self, p_a: P8E0, p_b: P8E0)[src]

pub fn to_posit(self) -> P8E0[src]

pub fn clear(&mut self)[src]

pub fn neg(&mut self)[src]

Trait Implementations

impl Quire<P8E0> for Q8E0[src]

type Bits = u32

impl Display for Q8E0[src]

impl Debug for Q8E0[src]

impl From<P8E0> for Q8E0[src]

impl From<Q8E0> for P8E0[src]

impl AddAssign<(P8E0, P8E0)> for Q8E0[src]

impl SubAssign<(P8E0, P8E0)> for Q8E0[src]

impl Clone for Q8E0[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Q8E0

impl Sync for Q8E0

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self