math/big.Float.exp (field)
58 uses
math/big (current package)
float.go#L72: exp int32
float.go#L273: exp = int(x.exp)
float.go#L278: mant.exp = 0
float.go#L300: z.exp = int32(exp)
float.go#L328: z.setExpAndRound(int64(z.exp)+int64(exp), 0)
float.go#L354: if x.exp <= 0 {
float.go#L358: return x.prec <= uint32(x.exp) || x.MinPrec() <= uint(x.exp) // not enough bits for fractional mantissa
float.go#L477: if z.exp >= MaxExp {
float.go#L482: z.exp++
float.go#L514: z.exp = int32(64 - s) // always fits
float.go#L565: z.exp = int32(exp) // always fits
float.go#L655: z.exp = x.exp
float.go#L682: z.exp = x.exp
float.go#L744: if x.exp <= 0 {
float.go#L749: if x.exp <= 64 {
float.go#L751: u := msb64(x.mant) >> (64 - uint32(x.exp))
float.go#L787: if x.exp <= 0 {
float.go#L794: if x.exp <= 63 {
float.go#L796: i := int64(msb64(x.mant) >> (64 - uint32(x.exp)))
float.go#L800: if x.MinPrec() <= uint(x.exp) {
float.go#L807: if x.exp == 64 && x.MinPrec() == 1 {
float.go#L853: e := x.exp - 1 // exponent for normal mantissa m with 1.0 <= m < 2.0
float.go#L894: e = r.exp - 1
float.go#L973: e := x.exp - 1 // exponent for normal mantissa m with 1.0 <= m < 2.0
float.go#L1014: e = r.exp - 1
float.go#L1087: if x.exp <= 0 {
float.go#L1096: exp := uint(x.exp)
float.go#L1146: case x.exp > allBits:
float.go#L1147: z.a.abs = z.a.abs.shl(x.mant, uint(x.exp-allBits))
float.go#L1154: case x.exp < allBits:
float.go#L1157: z.b.abs = t.shl(t, uint(allBits-x.exp))
float.go#L1221: ex := int64(x.exp) - int64(len(x.mant))*_W
float.go#L1222: ey := int64(y.exp) - int64(len(y.mant))*_W
float.go#L1268: ex := int64(x.exp) - int64(len(x.mant))*_W
float.go#L1269: ey := int64(y.exp) - int64(len(y.mant))*_W
float.go#L1322: e := int64(x.exp) + int64(y.exp)
float.go#L1362: e := int64(x.exp) - int64(y.exp) - int64(d-len(z.mant))*_W
float.go#L1385: case x.exp < y.exp:
float.go#L1387: case x.exp > y.exp:
floatconv.go#L126: z.exp = int32(exp2)
floatmarsh.go#L53: binary.BigEndian.PutUint32(buf[6:], uint32(x.exp))
floatmarsh.go#L86: z.exp = int32(binary.BigEndian.Uint32(buf[6:]))
ftoa.go#L96: d.init(x.mant, int(x.exp)-x.mant.bitLen())
ftoa.go#L187: exp := int(x.exp) - mant.bitLen()
ftoa.go#L339: e := int64(x.exp) - int64(x.prec)
ftoa.go#L387: exp64 := int64(x.exp) - 1 // avoid wrap-around
ftoa.go#L441: if x.exp >= 0 {
ftoa.go#L444: return strconv.AppendInt(buf, int64(x.exp), 10)
sqrt.go#L70: z.exp++
sqrt.go#L72: z.exp--
sqrt.go#L104: u.exp-- // = ½t(3 - xt²)
![]() |
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. |