mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 03:06:42 +01:00
Arrays working
This commit is contained in:
@@ -9,6 +9,10 @@ module.exports = class ZqField {
|
||||
return a.add(b).mod(this.p);
|
||||
}
|
||||
|
||||
mul(a, b) {
|
||||
return a.mul(b).mod(this.p);
|
||||
}
|
||||
|
||||
lt(a, b) {
|
||||
return a.lt(b) ? bigInt(1) : bigInt(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user