include "../node_modules/circom/circuits/compconstant.circom";
|
|
|
|
template Sign() {
|
|
signal input in[254];
|
|
signal output sign;
|
|
|
|
component comp = CompConstant(10944121435919637611123202872628637544274182200208017171849102093287904247808);
|
|
|
|
var i;
|
|
|
|
for (i=0; i<254; i++) {
|
|
comp.in[i] <== in[i];
|
|
}
|
|
|
|
sign <== comp.out;
|
|
}
|