Skip to content

Commit

Permalink
increase divider for scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Jan 11, 2024
1 parent c29de03 commit a9c944c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
16 changes: 0 additions & 16 deletions fhevm/benchmarks_test.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
// Copyright 2014 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

package fhevm

import (
Expand Down
6 changes: 3 additions & 3 deletions fhevm/contracts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1638,13 +1638,13 @@ func FheDiv(t *testing.T, fheUintType FheUintType, scalar bool) {
switch fheUintType {
case FheUint8:
lhs = 6
rhs = 3
rhs = 7
case FheUint16:
lhs = 721
rhs = 1000
rhs = 251
case FheUint32:
lhs = 137
rhs = 17
rhs = 65521
}
expected := lhs / rhs
depth := 1
Expand Down

0 comments on commit a9c944c

Please sign in to comment.