reflect.Value.SetFloat (method)
5 uses
reflect (current package)
value.go#L2318: func (v Value) SetFloat(x float64) {
encoding/binary
binary.go#L666: v.SetFloat(float64(math.Float32frombits(d.uint32())))
binary.go#L668: v.SetFloat(math.Float64frombits(d.uint64()))
encoding/json
decode.go#L1010: v.SetFloat(n)
fmt
scan.go#L1047: v.SetFloat(s.convertFloat(s.floatToken(), v.Type().Bits()))
![]() |
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. |