Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Gunj Joshi <[email protected]>
  • Loading branch information
gunjjoshi authored Feb 25, 2025
1 parent 3e9459b commit c56c30e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ tape( 'the function correctly computes `logf(1+f) - f` for `1+f` satisfying `sqr
t.equal( y, e, 'x: '+x[ i ]+'. E: '+e );
} else {
delta = absf( y - e );
tol = 1.0 * EPS * absf( e );
tol = 130.0 * EPS * absf( e );
t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' );
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ tape( 'the function correctly computes `logf(1+f) - f` for `1+f` satisfying `sqr
t.equal( y, e, 'x: '+x[ i ]+'. E: '+e );
} else {
delta = absf( y - e );
tol = 1.0 * EPS * absf( e );
tol = 130.0 * EPS * absf( e );
t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' );
}
}
Expand Down

0 comments on commit c56c30e

Please sign in to comment.