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