ΒΆinline uint32_t FloatToBits(float Float)
inline uint32_t FloatToBits(float Float)
Description
This function takes a float and returns the bit equivalent 32-bit integer. Note that copying floats around changes the bits of NaNs on some hosts, notably x86, so this routine cannot be used if these bits are needed.
Declared at: llvm/include/llvm/Support/MathExtras.h:652
Parameters
- float Float