reflect.Value.Float (method)
17 uses
reflect (current package)
deepequal.go#L168: return v1.Float() == v2.Float()
value.go#L1385: func (v Value) Float() float64 {
value.go#L1591: return math.Float64bits(v.Float()) == 0
value.go#L3421: return v.Float() == u.Float()
value.go#L3649: return makeInt(v.flag.ro(), uint64(int64(v.Float())), t)
value.go#L3654: return makeInt(v.flag.ro(), uint64(v.Float()), t)
value.go#L3675: return makeFloat(v.flag.ro(), v.Float(), t)
encoding/binary
binary.go#L739: e.uint32(math.Float32bits(float32(v.Float())))
binary.go#L741: e.uint64(math.Float64bits(v.Float()))
encoding/json
encode.go#L315: return v.Float() == 0
encode.go#L531: f := v.Float()
fmt
print.go#L796: p.fmtFloat(f.Float(), 32, verb)
print.go#L798: p.fmtFloat(f.Float(), 64, verb)
internal/fmtsort
sort.go#L115: return floatCompare(aVal.Float(), bVal.Float())
|
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. |