Skip to main content

Uf8

Type Alias Uf8 

Source
pub type Uf8 = Uf8E4M4;
Expand description

Default 8-bit unsigned float layout.

Aliased Type§

pub struct Uf8(/* private fields */);

Trait Implementations§

Source§

impl Pow1mUf<Uf8E4M4> for Uf8

Source§

type Output = Uf8E4M4

The result type of complement exponentiation.
Source§

fn pow1muf(self, rhs: Uf8) -> Self::Output

Raises 1 - self to the unsigned-float exponent rhs.
Source§

impl Pow1mUf<Uf8E5M3> for Uf8

Source§

type Output = Uf8E4M4

The result type of complement exponentiation.
Source§

fn pow1muf(self, rhs: Uf8E5M3) -> Self::Output

Raises 1 - self to the unsigned-float exponent rhs.
Source§

impl PowUf<Uf8E4M4> for Uf8

Source§

type Output = Uf8E4M4

The result type of exponentiation.
Source§

fn powuf(self, rhs: Uf8) -> Self::Output

Raises self to the unsigned-float exponent rhs.
Source§

impl PowUf<Uf8E5M3> for Uf8

Source§

type Output = Uf8E4M4

The result type of exponentiation.
Source§

fn powuf(self, rhs: Uf8E5M3) -> Self::Output

Raises self to the unsigned-float exponent rhs.
Source§

impl TryFrom<f64> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: f64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i128> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i16> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<i8> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: i8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: isize) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u128) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u16> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u16) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u64) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u8> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: u8) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for Uf8

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: usize) -> Result<Self, Self::Error>

Performs the conversion.