MCPcopy Create free account
hub / github.com/DOSNetwork/core / Cmp

Method Cmp

group/mod/int.go:137–139  ·  view source on GitHub ↗

Cmp compares two Ints for equality or inequality

(s2 kyber.Scalar)

Source from the content-addressed store, hash-verified

135
136// Cmp compares two Ints for equality or inequality
137func (i *Int) Cmp(s2 kyber.Scalar) int {
138 return i.V.Cmp(&s2.(*Int).V)
139}
140
141// Equal returns true if the two Ints are equal
142func (i *Int) Equal(s2 kyber.Scalar) bool {

Callers 11

EqualMethod · 0.80
UnmarshalBinaryMethod · 0.80
EqualMethod · 0.80
genPointMethod · 0.80
EqualMethod · 0.80
ValidMethod · 0.80
ValidMethod · 0.80
QuadraticResidueGroupMethod · 0.80
onchainLoopMethod · 0.80
handleCRMethod · 0.80
IsPendingNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected