strconv.decimalSlice.dp (field)
23 uses
strconv (current package)
extfloat.go#L230: d.dp = 0
extfloat.go#L283: d.dp = integerDigits + exp10
extfloat.go#L368: d.dp++
extfloat.go#L384: d.dp = 0
extfloat.go#L403: d.nd, d.dp = nd, nd
extfloat.go#L408: d.dp = 0
extfloat.go#L457: d.dp = integerDigits + exp10
extfloat.go#L465: d.dp = d.nd + exp10
extfloat.go#L514: d.dp = 0
ftoa.go#L130: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L169: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L175: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L192: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L206: if eprec > digs.nd && digs.nd >= digs.dp {
ftoa.go#L215: exp := digs.dp - 1
ftoa.go#L222: if prec > digs.dp {
ftoa.go#L225: return fmtF(dst, neg, digs, max(prec-digs.dp, 0))
ftoa.go#L373: nd, dp int
ftoa.go#L407: exp := d.dp - 1
ftoa.go#L440: if d.dp > 0 {
ftoa.go#L441: m := min(d.nd, d.dp)
ftoa.go#L443: for ; m < d.dp; m++ {
ftoa.go#L455: if j := d.dp + i; 0 <= j && j < d.nd {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |