func math.Float32bits
14 uses
math (current package)
nextafter.go#L23: r = Float32frombits(Float32bits(x) + 1)
nextafter.go#L25: r = Float32frombits(Float32bits(x) - 1)
unsafe.go#L24: func Float32bits(f float32) uint32 { return *(*uint32)(unsafe.Pointer(&f)) }
encoding/binary
binary.go#L576: order.PutUint32(bs, math.Float32bits(*v))
binary.go#L578: order.PutUint32(bs, math.Float32bits(v))
binary.go#L581: order.PutUint32(bs[4*i:], math.Float32bits(x))
binary.go#L962: e.uint32(math.Float32bits(float32(v.Float())))
binary.go#L968: e.uint32(math.Float32bits(float32(real(x))))
binary.go#L969: e.uint32(math.Float32bits(float32(imag(x))))
github.com/klauspost/compress/flate
token.go#L213: ux := int32(math.Float32bits(val))
go.uber.org/atomic
float32.go#L55: x.v.Store(math.Float32bits(val))
float32.go#L61: return math.Float32frombits(x.v.Swap(math.Float32bits(val)))
float32_ext.go#L69: return f.v.CompareAndSwap(math.Float32bits(old), math.Float32bits(new))
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |