strconv.floatInfo.mantbits (field)
32 uses
strconv (current package)
atof.go#L378: d.Shift(int(1 + flt.mantbits))
atof.go#L382: if mant == 2<<flt.mantbits {
atof.go#L391: if mant&(1<<flt.mantbits) == 0 {
atof.go#L404: bits := mant & (uint64(1)<<flt.mantbits - 1)
atof.go#L405: bits |= uint64((exp-flt.bias)&(1<<flt.expbits-1)) << flt.mantbits
atof.go#L407: bits |= 1 << flt.mantbits << flt.expbits
atof.go#L428: if mantissa>>float64info.mantbits != 0 {
atof.go#L462: if mantissa>>float32info.mantbits != 0 {
atof.go#L500: exp += int(flt.mantbits) // mantissa now implicitly divided by 2^mantbits.
atof.go#L508: for mantissa != 0 && mantissa>>(flt.mantbits+2) == 0 {
atof.go#L515: for mantissa>>(1+flt.mantbits+2) != 0 {
atof.go#L535: if mantissa == 1<<(1+flt.mantbits) {
atof.go#L541: if mantissa>>flt.mantbits == 0 { // Denormal or zero.
atof.go#L546: mantissa = 1 << flt.mantbits
atof.go#L551: bits := mantissa & (1<<flt.mantbits - 1)
atof.go#L552: bits |= uint64((exp-flt.bias)&(1<<flt.expbits-1)) << flt.mantbits
atof.go#L554: bits |= 1 << flt.mantbits << flt.expbits
extfloat.go#L135: f.exp = exp - int(flt.mantbits)
extfloat.go#L146: if mant != 1<<flt.mantbits || expBiased == 1 {
ftoa.go#L17: mantbits uint
ftoa.go#L71: neg := bits>>(flt.expbits+flt.mantbits) != 0
ftoa.go#L72: exp := int(bits>>flt.mantbits) & (1<ftoa.go#L73: mant := bits & (uint64(1)<<flt.mantbits - 1)
ftoa.go#L95: mant |= uint64(1) << flt.mantbits
ftoa.go#L150: f := extFloat{mant, exp - int(flt.mantbits), neg}
ftoa.go#L164: d.Shift(exp - int(flt.mantbits))
ftoa.go#L256: if exp > minexp && 332*(d.dp-d.nd) >= 100*(exp-int(flt.mantbits)) {
ftoa.go#L266: upper.Shift(exp - int(flt.mantbits) - 1)
ftoa.go#L276: if mant > 1<<flt.mantbits || exp == minexp {
ftoa.go#L285: lower.Shift(explo - int(flt.mantbits) - 1)
ftoa.go#L479: exp -= int(flt.mantbits)
ftoa.go#L495: mant <<= 60 - flt.mantbits
![]() |
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. |