strconv.extFloat.exp (field)
35 uses
strconv (current package)
extfloat.go#L17: exp int
extfloat.go#L135: f.exp = exp - int(flt.mantbits)
extfloat.go#L137: if f.exp <= 0 && mant == (mant>>uint(-f.exp))<<uint(-f.exp) {
extfloat.go#L139: f.mant >>= uint(-f.exp)
extfloat.go#L140: f.exp = 0
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#L163: f.exp -= shift
extfloat.go#L173: f.exp = f.exp + g.exp + 64
extfloat.go#L195: approxExp10 := ((expMin+expMax)/2 - f.exp) * 28 / 93 // log(10)/log(2) is close to 93/28.
extfloat.go#L199: exp := f.exp + powersOfTen[i].exp + 64
extfloat.go#L242: shift := uint(-f.exp)
extfloat.go#L388: if f.exp == 0 && *lower == *f && *lower == *upper {
extfloat.go#L415: if f.exp > upper.exp {
extfloat.go#L416: f.mant <<= uint(f.exp - upper.exp)
extfloat.go#L417: f.exp = upper.exp
extfloat.go#L419: if lower.exp > upper.exp {
extfloat.go#L420: lower.mant <<= uint(lower.exp - upper.exp)
extfloat.go#L421: lower.exp = upper.exp
extfloat.go#L431: shift := uint(-upper.exp)
![]() |
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. |