reflect.Value.Float (method)
19 uses
reflect (current package)
deepequal.go#L169: return v1.Float() == v2.Float()
value.go#L1379: func (v Value) Float() float64 {
value.go#L1584: return v.Float() == 0
value.go#L3487: return v.Float() == u.Float()
value.go#L3715: return makeInt(v.flag.ro(), uint64(int64(v.Float())), t)
value.go#L3720: return makeInt(v.flag.ro(), uint64(v.Float()), t)
value.go#L3741: return makeFloat(v.flag.ro(), v.Float(), t)
database/sql/driver
types.go#L282: return rv.Float(), nil
encoding/binary
binary.go#L944: e.uint32(math.Float32bits(float32(v.Float())))
binary.go#L946: e.uint64(math.Float64bits(v.Float()))
encoding/json
encode.go#L530: f := v.Float()
fmt
print.go#L796: p.fmtFloat(f.Float(), 32, verb)
print.go#L798: p.fmtFloat(f.Float(), 64, verb)
github.com/oapi-codegen/runtime
styleparam.go#L418: output = strconv.FormatFloat(v.Float(), 'f', -1, 64)
styleparam.go#L420: output = strconv.FormatFloat(v.Float(), 'f', -1, 32)
internal/fmtsort
sort.go#L85: return cmp.Compare(aVal.Float(), bVal.Float())
 |
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. |