Function equivalent [src]

Return true if both field elements are equivalent

Prototype

pub inline fn equivalent(a: Fe, b: Fe) bool

Parameters

a: Feb: Fe

Source

pub inline fn equivalent(a: Fe, b: Fe) bool { return a.sub(b).isZero(); }