func math.Float32bits
10 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#L558: order.PutUint32(bs, math.Float32bits(*v))
binary.go#L560: order.PutUint32(bs, math.Float32bits(v))
binary.go#L563: order.PutUint32(bs[4*i:], math.Float32bits(x))
binary.go#L944: e.uint32(math.Float32bits(float32(v.Float())))
binary.go#L950: e.uint32(math.Float32bits(float32(real(x))))
binary.go#L951: e.uint32(math.Float32bits(float32(imag(x))))
strconv
ftoa.go#L62: bits = uint64(math.Float32bits(float32(val)))
![]() |
The pages are generated with Golds v0.7.6. (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. |