func strconv.FormatFloat
7 uses
strconv (current package)
ctoa.go#L21: im := FormatFloat(imag(c), fmt, prec, bitSize)
ctoa.go#L26: return "(" + FormatFloat(real(c), fmt, prec, bitSize) + im + "i)"
ftoa.go#L47: func FormatFloat(f float64, fmt byte, prec, bitSize int) string {
encoding/json
encode.go#L533: e.error(&UnsupportedValueError{v, strconv.FormatFloat(f, 'g', -1, int(bits))})
flag
flag.go#L275: func (f *float64Value) String() string { return strconv.FormatFloat(float64(*f), 'g', -1, 64) }
go.uber.org/atomic
float32_ext.go#L75: return strconv.FormatFloat(float64(f.Load()), 'g', -1, 32)
float64_ext.go#L75: return strconv.FormatFloat(f.Load(), 'g', -1, 64)
|
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. |