(f: number)
| 32 | |
| 33 | // Reinterpret the bits of a float32 as a uint32 |
| 34 | export function floatBitsToUint(f: number): number { |
| 35 | f32buffer[0] = f; |
| 36 | return u32buffer[0]; |
| 37 | } |
| 38 | |
| 39 | // Reinterpret the bits of a uint32 as a float32 |
| 40 | export function uintBitsToFloat(u: number): number { |