math/big.Int.Neg (method)
12 uses
math/big (current package)
int.go#L109: func (z *Int) Neg(x *Int) *Int {
int.go#L812: n = n2.Neg(n)
crypto/elliptic
elliptic.go#L383: y.Neg(y).Mod(y, p)
p256_asm.go#L116: k = new(big.Int).Neg(k)
encoding/asn1
asn1.go#L147: ret.Neg(ret)
marshal.go#L207: nMinus1 := new(big.Int).Neg(n)
github.com/jackc/pgtype
numeric.go#L539: accum.Neg(accum)
golang.org/x/crypto/ssh
messages.go#L637: out.Neg(out)
messages.go#L663: nMinus1 := new(big.Int).Neg(n)
messages.go#L705: nMinus1 := new(big.Int).Neg(n)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L78: nMinus1 := new(big.Int).Neg(n)
asn1.go#L316: out.Neg(out)
![]() |
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. |