strconv.extFloat.mant (field)
30 uses
strconv (current package)
extfloat.go#L16: mant uint64
extfloat.go#L134: f.mant = mant
extfloat.go#L139: f.mant >>= uint(-f.exp)
extfloat.go#L145: upper = extFloat{mant: 2*f.mant + 1, exp: f.exp - 1, neg: f.neg}
extfloat.go#L147: lower = extFloat{mant: 2*f.mant - 1, exp: f.exp - 1, neg: f.neg}
extfloat.go#L149: lower = extFloat{mant: 4*f.mant - 1, exp: f.exp - 2, neg: f.neg}
extfloat.go#L158: if f.mant == 0 {
extfloat.go#L161: shift := bits.LeadingZeros64(f.mant)
extfloat.go#L162: f.mant <<= uint(shift)
extfloat.go#L170: hi, lo := bits.Mul64(f.mant, g.mant)
extfloat.go#L172: f.mant = hi + (lo >> 63)
extfloat.go#L228: if f.mant == 0 {
extfloat.go#L243: integer := uint32(f.mant >> shift)
extfloat.go#L244: fraction := f.mant - (uint64(integer) << shift)
extfloat.go#L382: if f.mant == 0 {
extfloat.go#L392: for v := f.mant; v > 0; {
extfloat.go#L416: f.mant <<= uint(f.exp - upper.exp)
extfloat.go#L420: lower.mant <<= uint(lower.exp - upper.exp)
extfloat.go#L426: upper.mant++
extfloat.go#L427: lower.mant--
extfloat.go#L432: integer := uint32(upper.mant >> shift)
extfloat.go#L433: fraction := upper.mant - (uint64(integer) << shift)
extfloat.go#L436: allowance := upper.mant - lower.mant
extfloat.go#L438: targetDiff := upper.mant - f.mant
![]() |
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. |