math/big.Int.Lsh (method)
12 uses
math/big (current package)
int.go#L1017: tx := new(Int).Lsh(x, 1) // tx = 2*x
int.go#L1111: func (z *Int) Lsh(x *Int, n uint) *Int {
rat.go#L66: z.b.Lsh(&z.b, uint(shift))
rat.go#L68: z.a.Lsh(&z.a, uint(-shift))
crypto/elliptic
params.go#L40: threeX := new(big.Int).Lsh(x, 1)
params.go#L156: i := new(big.Int).Lsh(h, 1)
params.go#L174: r.Lsh(r, 1)
params.go#L188: s1.Lsh(s1, 1)
params.go#L235: alpha.Lsh(alpha, 1)
params.go#L241: beta8 := new(big.Int).Lsh(beta, 3)
params.go#L261: beta.Lsh(beta, 2)
params.go#L269: gamma.Lsh(gamma, 3)
|
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. |