reflect.Value.SetFloat (method)
8 uses
reflect (current package)
value.go#L2374: func (v Value) SetFloat(x float64) {
encoding/binary
binary.go#L879: v.SetFloat(float64(math.Float32frombits(d.uint32())))
binary.go#L881: v.SetFloat(math.Float64frombits(d.uint64()))
encoding/json
decode.go#L1012: v.SetFloat(n)
fmt
scan.go#L1047: v.SetFloat(s.convertFloat(s.floatToken(), v.Type().Bits()))
github.com/oapi-codegen/runtime
bindstring.go#L92: v.SetFloat(val)
deepobject.go#L313: iv.SetFloat(val)
deepobject.go#L320: iv.SetFloat(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. |