I am almost afraid to ask, but...
f32::from_bits is cool
what's the deal with the other direction?
these sorts of
u32 hacks seem super useful in making approximations of all sorts of arithmetic operations
see the "quake invsqrt" or something like https://bits.stephan-brumme.com/squareRoot.html
but the core idea of all of these is
u32 -> [ bit twiddling ] ->
f32::from_bits is useful for the output
What's wrong with
whoa! it exists! awesome, thanks
somehow I overlooked it