Struct cranelift_codegen::ir::immediates::Ieee32   [−][src]
#[repr(C)]pub struct Ieee32(_);
An IEEE binary32 immediate floating point value, represented as a u32 containing the bit pattern.
All bit patterns are allowed.
Implementations
impl Ieee32[src]
impl Ieee32[src]pub fn with_bits(x: u32) -> Self[src]
Create a new Ieee32 containing the bits of x.
pub fn pow2<I: Into<i32>>(n: I) -> Self[src]
Create an Ieee32 number representing 2.0^n.
pub fn fcvt_to_sint_negative_overflow<I: Into<i32>>(n: I) -> Self[src]
Create an Ieee32 number representing the greatest negative value
not convertable from f32 to a signed integer with width n.
pub fn neg(self) -> Self[src]
Return self negated.
pub fn with_float(x: f32) -> Self[src]
Create a new Ieee32 representing the number x.
pub fn bits(self) -> u32[src]
Get the bitwise representation.
pub fn is_nan(&self) -> bool[src]
Check if the value is a NaN.
Trait Implementations
impl PartialOrd<Ieee32> for Ieee32[src]
impl PartialOrd<Ieee32> for Ieee32[src]impl Copy for Ieee32[src]
impl Eq for Ieee32[src]
impl StructuralEq for Ieee32[src]
impl StructuralPartialEq for Ieee32[src]
Auto Trait Implementations
impl RefUnwindSafe for Ieee32
impl Send for Ieee32
impl Sync for Ieee32
impl Unpin for Ieee32
impl UnwindSafe for Ieee32
Blanket Implementations
impl<T> CallHasher for T where
    T: Hash, [src]
impl<T> CallHasher for T where
    T: Hash, [src]impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized, [src]