Struct cranelift_codegen::ir::immediates::Ieee32
source · pub struct Ieee32(_);
Expand description
An IEEE binary32 immediate floating point value, represented as a u32 containing the bit pattern.
All bit patterns are allowed.
Implementations§
source§impl Ieee32
impl Ieee32
sourcepub fn fcvt_to_sint_negative_overflow<I: Into<i32>>(n: I) -> Self
pub fn fcvt_to_sint_negative_overflow<I: Into<i32>>(n: I) -> Self
Create an Ieee32
number representing the greatest negative value
not convertable from f32 to a signed integer with width n.
sourcepub fn with_float(x: f32) -> Self
pub fn with_float(x: f32) -> Self
Create a new Ieee32
representing the number x
.