Float32bits returns the IEEE 754 binary representation of f, with the sign bit of f and the result in the same bit position. Float32bits(Float32frombits(x)) == x.
(f float32)
| 77 | // with the sign bit of f and the result in the same bit position. |
| 78 | // Float32bits(Float32frombits(x)) == x. |
| 79 | func Float32bits(f float32) uint32 { return *(*uint32)(unsafe.Pointer(&f)) } |
| 80 | |
| 81 | // Float32frombits returns the floating-point number corresponding |
| 82 | // to the IEEE 754 binary representation b, with the sign bit of b |