Struct cranelift_codegen::ir::immediates::Ieee64
source · 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.