math/big.Int.Lsh (method)
12 uses
math/big (current package)
int.go#L914: tx := new(Int).Lsh(x, 1) // tx = 2*x
int.go#L1008: 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
elliptic.go#L63: threeX := new(big.Int).Lsh(x, 1)
elliptic.go#L148: i := new(big.Int).Lsh(h, 1)
elliptic.go#L166: r.Lsh(r, 1)
elliptic.go#L180: s1.Lsh(s1, 1)
elliptic.go#L214: alpha.Lsh(alpha, 1)
elliptic.go#L220: beta8 := new(big.Int).Lsh(beta, 3)
elliptic.go#L240: beta.Lsh(beta, 2)
elliptic.go#L248: gamma.Lsh(gamma, 3)
 |
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. |