Float32frombits returns the floating-point number corresponding to the IEEE 754 binary representation b, with the sign bit of b and the result in the same bit position. Float32frombits(Float32bits(x)) == x.
(b uint32)
| 83 | // and the result in the same bit position. |
| 84 | // Float32frombits(Float32bits(x)) == x. |
| 85 | func Float32frombits(b uint32) float32 { return *(*float32)(unsafe.Pointer(&b)) } |
| 86 | |
| 87 | // Float64bits returns the IEEE 754 binary representation of f, |
| 88 | // with the sign bit of f and the result in the same bit position, |