Skip to content

Commit

Permalink
Update x bound
Browse files Browse the repository at this point in the history
  • Loading branch information
cairoeth committed Sep 19, 2024
1 parent 1a2d166 commit 8ff602d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Gaussian.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ contract GaussianTest is Test {

/// forge-config: default.fuzz.runs = 500
function testDifferentialErfinv(int256 x) public {
x = bound(x, -0.999999999e18, 0.999999999e18);
x = bound(x, -0.99999999e18, 0.99999999e18);

int256 actual = mockErfinv.erfinv(getx96(x));
int256 expected = getErfinvPython(x);
Expand All @@ -77,7 +77,7 @@ contract GaussianTest is Test {

/// forge-config: default.fuzz.runs = 500
function testDifferentialErfcinv(int256 x) public {
x = bound(x, 0.999999999e18, 1.999999999e18);
x = bound(x, 0.99999999e18, 1.99999999e18);

int256 actual = mockErfcinv.erfcinv(x);
int256 expected = getErfcinvPython(x);
Expand Down

0 comments on commit 8ff602d

Please sign in to comment.