Skip to content

Commit 4f4e4f4

Browse files
fix: native test error
1 parent e96841f commit 4f4e4f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/atan2f/test/test.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ tape( 'the function evaluates the `atan2f` function (when x and y are positive)'
188188
for ( i = 0; i < x.length; i++ ) {
189189
actual = atan2f( y[i], x[i] );
190190
delta = absf( actual - expected[i] );
191-
tol = 1.0 * EPS * absf( expected[i] );
191+
tol = 2.0 * EPS * absf( expected[i] );
192192
t.equal( delta <= tol, true, 'within tolerance. y: '+y[i]+'. x: '+x[i]+'. Actual: '+actual+'. E: '+expected[i]+'. tol: '+tol+'. Δ: '+delta+'.' );
193193
}
194194
t.end();

0 commit comments

Comments
 (0)