#[repr(C)]pub struct Ieee128(/* private fields */);
Expand description
An IEEE binary128 immediate floating point value, represented as a u128 containing the bit pattern.
We specifically avoid using a f128 here since some architectures may silently alter floats. See: https://github.com/bytecodealliance/wasmtime/pull/2251#discussion_r498508646
The PartialEq and Hash implementations are over the underlying bit pattern, but PartialOrd respects IEEE754 semantics.
All bit patterns are allowed.
Implementations§
Trait Implementations§
source§impl PartialOrd for Ieee128
impl PartialOrd for Ieee128
impl Copy for Ieee128
impl Eq for Ieee128
impl StructuralPartialEq for Ieee128
Auto Trait Implementations§
impl Freeze for Ieee128
impl RefUnwindSafe for Ieee128
impl Send for Ieee128
impl Sync for Ieee128
impl Unpin for Ieee128
impl UnwindSafe for Ieee128
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.