math/big.Int.SetUint64 (method)
14 uses
math/big (current package)
int.go#L61: func (z *Int) SetUint64(x uint64) *Int {
int.go#L542: x.SetUint64(0)
int.go#L544: x.SetUint64(1)
int.go#L550: y.SetUint64(0)
int.go#L552: y.SetUint64(1)
rat.go#L62: z.a.SetUint64(mantissa)
rat.go#L348: z.a.SetUint64(x)
crypto/rand
util.go#L26: var smallPrimesProduct = new(big.Int).SetUint64(16294579238595022365)
util.go#L90: bigMod.SetUint64(delta)
util.go#L111: n.Sub(max, n.SetUint64(1))
github.com/jackc/pgtype
numeric.go#L43: var bigMaxUint64 *big.Int = (&big.Int{}).SetUint64(uint64(math.MaxUint64))
numeric.go#L44: var bigMaxUint *big.Int = (&big.Int{}).SetUint64(uint64(maxUint))
numeric.go#L107: *dst = Numeric{Int: (&big.Int{}).SetUint64(value), Status: Present}
numeric.go#L111: *dst = Numeric{Int: (&big.Int{}).SetUint64(uint64(value)), Status: Present}
![]() |
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. |