Module compat

Source
Expand description

Note: these two functions are copied directly from the std (core) library. But by duplicating them here we can reduce MSRV from 1.84 all the way down to 1.65 while retaining const constructors and strict pointer provenance

Functionsยง

f32_from_bits
Raw transmutation from u32 to f32.
f32_to_bits
Raw transmutation from f32 to u32.
tag_ptr
Tag a pointer exposing provenance (works back to Rust 1.0)