reflect.Value.Float (method)
18 uses
reflect (current package)
deepequal.go#L169: return v1.Float() == v2.Float()
value.go#L1385: func (v Value) Float() float64 {
value.go#L1672: return v.Float() == 0
value.go#L3329: return v.Float() == u.Float()
value.go#L3557: return makeInt(v.flag.ro(), uint64(int64(v.Float())), t)
value.go#L3562: return makeInt(v.flag.ro(), uint64(v.Float()), t)
value.go#L3583: return makeFloat(v.flag.ro(), v.Float(), t)
encoding/binary
binary.go#L962: e.uint32(math.Float32bits(float32(v.Float())))
binary.go#L964: e.uint64(math.Float64bits(v.Float()))
encoding/json
encode.go#L572: f := v.Float()
fmt
print.go#L797: p.fmtFloat(f.Float(), 32, verb)
print.go#L799: p.fmtFloat(f.Float(), 64, verb)
go.opentelemetry.io/otel/attribute
hash.go#L81: h = h.Float64(rv.Index(i).Float())
value.go#L680: val := rv.Index(i).Float()
internal/fmtsort
sort.go#L85: return cmp.Compare(aVal.Float(), bVal.Float())
 |
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. |