type math/big.RoundingMode
9 uses
math/big (current package)
float.go#L67: mode RoundingMode
float.go#L132: type RoundingMode byte
float.go#L136: ToNearestEven RoundingMode = iota // == IEEE 754-2008 roundTiesToEven
float.go#L200: func (z *Float) SetMode(mode RoundingMode) *Float {
float.go#L223: func (x *Float) Mode() RoundingMode {
floatconv.go#L287: func ParseFloat(s string, base int, prec uint, mode RoundingMode) (f *Float, b int, err error) {
floatmarsh.go#L83: z.mode = RoundingMode((b >> 5) & 7)
roundingmode_string.go#L23: func (i RoundingMode) String() string {
roundingmode_string.go#L24: if i >= RoundingMode(len(_RoundingMode_index)-1) {
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |