pub struct Float8_e5m2(/* private fields */);Expand description
8-bit floating-point with 1 bit for the sign, 5 bits for the exponents, 2 bits for the mantissa.
Does not provide any arithmetic operations, but can be converted to/from bits representation.
Implementations§
Trait Implementations§
Source§impl Clone for Float8_e5m2
impl Clone for Float8_e5m2
Source§fn clone(&self) -> Float8_e5m2
fn clone(&self) -> Float8_e5m2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Float8_e5m2
impl Debug for Float8_e5m2
Source§impl Default for Float8_e5m2
impl Default for Float8_e5m2
Source§fn default() -> Float8_e5m2
fn default() -> Float8_e5m2
Returns the “default value” for a type. Read more
Source§impl Scalar for Float8_e5m2
impl Scalar for Float8_e5m2
Source§const TYPE: ScalarType = ScalarType::Float8_e5m2
const TYPE: ScalarType = ScalarType::Float8_e5m2
The
ScalarType enum variant of the implementing type.impl Copy for Float8_e5m2
Auto Trait Implementations§
impl Freeze for Float8_e5m2
impl RefUnwindSafe for Float8_e5m2
impl Send for Float8_e5m2
impl Sync for Float8_e5m2
impl Unpin for Float8_e5m2
impl UnwindSafe for Float8_e5m2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more