SplitScript reference / f32 / toBits
f32.toBits
Method
f32.toBits() -> u32
Returns this float's exact IEEE-754 bit pattern.
Signed zero and NaN payload bits are preserved. This is a reinterpretation and performs no numeric conversion.
Effects: pure
Runtime behavior: available everywhere; synchronous
Examples
Inspect a 32-bit float
let bits = (-0.0 as f32).toBits()