Beispiel #1
0
func (p *point) Equal(p2 abstract.Point) bool {
	return C.element_cmp(&p.e[0], &p2.(*point).e[0]) == 0
}
Beispiel #2
0
func (s *scalar) Equal(s2 abstract.Scalar) bool {
	return C.element_cmp(&s.e[0], &s2.(*scalar).e[0]) == 0
}