pub struct x87_f80(/* private fields */);🔬This is a nightly-only experimental API. (
x87_f80 #163982)Available on x86 and (x86 or x86-64) only.
Expand description
The x87 80-bit extended-precision floating-point type.
FIXME: extend the documentation.
Implementations§
Source§impl x87_f80
impl x87_f80
Sourcepub const fn to_ne_bytes(self) -> [u8; 10]
🔬This is a nightly-only experimental API. (x87_f80 #163982)
pub const fn to_ne_bytes(self) -> [u8; 10]
x87_f80 #163982)Returns the memory representation of this floating point number as a byte array in native byte order.
Sourcepub const fn from_ne_bytes(bytes: [u8; 10]) -> Self
🔬This is a nightly-only experimental API. (x87_f80 #163982)
pub const fn from_ne_bytes(bytes: [u8; 10]) -> Self
x87_f80 #163982)Creates a floating point value from its representation as a byte array in native endian.
Trait Implementations§
Source§impl Clone for x87_f80
impl Clone for x87_f80
Source§fn clone(&self) -> Self
fn clone(&self) -> Self
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)where
Self:,
fn clone_from(&mut self, source: &Self)where
Self:,
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Performs copy-assignment from
source. Read moreimpl Copy for x87_f80
Auto Trait Implementations§
impl Forget for x87_f80
impl Freeze for x87_f80
impl Move for x87_f80
impl RefUnwindSafe for x87_f80
impl Send for x87_f80
impl Sync for x87_f80
impl Unpin for x87_f80
impl UnsafeUnpin for x87_f80
impl UnwindSafe for x87_f80
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
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Mutably borrows from an owned value. Read more