math/big.Float.SetPrec (method)
10 uses
math/big (current package)
float.go#L164: func (z *Float) SetPrec(prec uint) *Float {
floatconv.go#L141: p := new(Float).SetPrec(z.Prec() + 64) // use more bits for p -- TODO(gri) what is the right number?
floatconv.go#L201: f := new(Float).SetPrec(z.Prec() + 64).SetUint64(5)
floatconv.go#L288: return new(Float).SetPrec(prec).SetMode(mode).Parse(s, base)
floatmarsh.go#L99: z.SetPrec(uint(oldPrec))
ftoa.go#L377: x = new(Float).SetPrec(n).SetMode(x.mode).Set(x)
go/constant
value.go#L277: func newFloat() *big.Float { return new(big.Float).SetPrec(prec) }
value.go#L880: t.SetPrec(prec - delta)
golang.org/x/tools/internal/gcimporter
iexport.go#L1344: f.SetPrec(mpprec)
golang.org/x/tools/internal/pkgbits
decoder.go#L469: v := new(big.Float).SetPrec(512)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)