mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 03:06:42 +01:00
13 lines
213 B
Plaintext
13 lines
213 B
Plaintext
template Ops3() {
|
|
signal input in[2];
|
|
signal output neg1;
|
|
signal output neg2;
|
|
signal output pow;
|
|
|
|
neg1 <-- -in[0];
|
|
neg2 <-- -in[1];
|
|
pow <-- in[0] ** in[1];
|
|
}
|
|
|
|
component main = Ops3();
|