func math.Float32frombits
18 uses
math (current package)
nextafter.go#L21: r = float32(Copysign(float64(Float32frombits(1)), float64(y)))
nextafter.go#L23: r = Float32frombits(Float32bits(x) + 1)
nextafter.go#L25: r = Float32frombits(Float32bits(x) - 1)
unsafe.go#L18: func Float32frombits(b uint32) float32 { return *(*float32)(unsafe.Pointer(&b)) }
math/big
float.go#L937: return math.Float32frombits(sign | bexp | mant), r.acc
encoding/binary
binary.go#L260: *data = math.Float32frombits(order.Uint32(bs))
binary.go#L299: data[i] = math.Float32frombits(order.Uint32(bs[4*i:]))
binary.go#L666: v.SetFloat(float64(math.Float32frombits(d.uint32())))
binary.go#L672: float64(math.Float32frombits(d.uint32())),
binary.go#L673: float64(math.Float32frombits(d.uint32())),
github.com/klauspost/compress/flate
token.go#L217: uval := math.Float32frombits(uint32(ux))
go.uber.org/atomic
float32.go#L50: return math.Float32frombits(x.v.Load())
float32.go#L61: return math.Float32frombits(x.v.Swap(math.Float32bits(val)))
go.uber.org/zap/zapcore
field.go#L139: enc.AddFloat32(f.Key, math.Float32frombits(uint32(f.Integer)))
strconv
atof.go#L559: return float64(math.Float32frombits(uint32(bits))), err
atof.go#L610: f = math.Float32frombits(uint32(b))
eisel_lemire.go#L107: f = math.Float32frombits(0x80000000) // Negative zero.
eisel_lemire.go#L166: return math.Float32frombits(uint32(retBits)), true
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |