Struct cranelift_codegen::ir::immediates::Ieee64
source · #[repr(C)]pub struct Ieee64(_);
Expand description
An IEEE binary64 immediate floating point value, represented as a u64 containing the bit pattern.
All bit patterns are allowed.
Implementations§
source§impl Ieee64
impl Ieee64
sourcepub fn fcvt_to_sint_negative_overflow<I: Into<i64>>(n: I) -> Self
pub fn fcvt_to_sint_negative_overflow<I: Into<i64>>(n: I) -> Self
Create an Ieee64
number representing the greatest negative value
not convertable from f64 to a signed integer with width n.
sourcepub fn with_float(x: f64) -> Self
pub fn with_float(x: f64) -> Self
Create a new Ieee64
representing the number x
.
Trait Implementations§
source§impl IntoBytes for Ieee64
impl IntoBytes for Ieee64
source§fn into_bytes(self) -> Vec<u8>
fn into_bytes(self) -> Vec<u8>
Return the little-endian byte representation of the implementing type.
source§impl PartialOrd<Ieee64> for Ieee64
impl PartialOrd<Ieee64> for Ieee64
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Ieee64
impl Eq for Ieee64
impl StructuralEq for Ieee64
impl StructuralPartialEq for Ieee64
Auto Trait Implementations§
impl RefUnwindSafe for Ieee64
impl Send for Ieee64
impl Sync for Ieee64
impl Unpin for Ieee64
impl UnwindSafe for Ieee64
Blanket Implementations§
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.