mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-09 17:23:08 +00:00
merge fix
This commit is contained in:
parent
7b367f5c49
commit
c6492bc5d5
@ -61,20 +61,6 @@ impl BinaryOperator {
|
||||
U256::zero()
|
||||
}
|
||||
}
|
||||
BinaryOperator::Shl => {
|
||||
if input0 > 255.into() {
|
||||
U256::zero()
|
||||
} else {
|
||||
input1 << input0
|
||||
}
|
||||
}
|
||||
BinaryOperator::Shr => {
|
||||
if input0 > 255.into() {
|
||||
U256::zero()
|
||||
} else {
|
||||
input1 >> input0
|
||||
}
|
||||
}
|
||||
BinaryOperator::AddFp254 => addmod(input0, input1, BN_BASE),
|
||||
BinaryOperator::MulFp254 => mulmod(input0, input1, BN_BASE),
|
||||
BinaryOperator::SubFp254 => submod(input0, input1, BN_BASE),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user