math/big.Int.Lsh (method)
13 uses
math/big (current package)
int.go#L1012: tx := new(Int).Lsh(x, 1) // tx = 2*x
int.go#L1106: 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)
crypto/x509
oid.go#L311: bigVal = bigVal.Lsh(bigVal, bitsPerByte).Or(bigVal, big.NewInt(int64(curVal)))
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |