BitsToFloat - This function takes a 32-bit integer and returns the bit equivalent float.
| 318 | /// BitsToFloat - This function takes a 32-bit integer and returns the bit |
| 319 | /// equivalent float. |
| 320 | static inline float BitsToFloat(uint32_t Bits) { |
| 321 | union { |
| 322 | uint32_t I; |
| 323 | float F; |
| 324 | } T; |
| 325 | T.I = Bits; |
| 326 | return T.F; |
| 327 | } |
| 328 | |
| 329 | /// DoubleToBits - This function takes a double and returns the bit |
| 330 | /// equivalent 64-bit integer. Note that copying doubles around |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…