github.com/jackc/pgtype.Numeric.Exp (field)
19 uses
github.com/jackc/pgtype (current package)
numeric.go#L53: Exp int32
numeric.go#L81: *dst = Numeric{Int: num, Exp: exp, Status: Present}
numeric.go#L91: *dst = Numeric{Int: num, Exp: exp, Status: Present}
numeric.go#L117: *dst = Numeric{Int: num, Exp: exp, Status: Present}
numeric.go#L362: if dst.Exp == 0 {
numeric.go#L368: if dst.Exp > 0 {
numeric.go#L370: mul.Exp(big10, big.NewInt(int64(dst.Exp)), nil)
numeric.go#L376: div.Exp(big10, big.NewInt(int64(-dst.Exp)), nil)
numeric.go#L394: buf = append(buf, strconv.FormatInt(int64(src.Exp), 10)...)
numeric.go#L419: *dst = Numeric{Int: num, Exp: exp, Status: Present}
numeric.go#L542: *dst = Numeric{Int: accum, Exp: exp, Status: Present}
numeric.go#L582: buf = append(buf, strconv.FormatInt(int64(src.Exp), 10)...)
numeric.go#L613: switch src.Exp % 4 {
numeric.go#L615: exp = src.Exp - 1
numeric.go#L618: exp = src.Exp - 2
numeric.go#L621: exp = src.Exp - 3
numeric.go#L624: exp = src.Exp
numeric.go#L666: if src.Exp < 0 {
numeric.go#L667: dscale = int16(-src.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. |