mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
remove arithmetic.circom
This commit is contained in:
@@ -6,15 +6,6 @@ include "circomlib/circuits/bitify.circom";
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
// Some templates for num operations
|
||||
|
||||
// gets inversion in circom prime field
|
||||
// out * in === 1
|
||||
template Inverse(){
|
||||
signal input in;
|
||||
signal output out;
|
||||
out <-- 1 / in;
|
||||
out * in === 1;
|
||||
}
|
||||
|
||||
|
||||
// computes last bit of num with any bit len for 2 constraints
|
||||
// returns bit (0 or 1) and div = num \ 2
|
||||
|
||||
Reference in New Issue
Block a user