Skip to content

Commit 08ebbbe

Browse files
changed test.native file
1 parent 9bcb506 commit 08ebbbe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ tape( 'the function accurately computes the natural exponential function for neg
6969
for ( i = 0; i < x.length; i++ ) {
7070
v = expf( x[ i ] );
7171
delta = absf( v - expected[ i ] );
72-
tol = EPS * absf( expected[ i ] );
72+
tol = EPS * 50 * absf( expected[ i ] );
7373
t.ok( delta <= tol, 'within tolerance. x: ' + x[ i ] + '. Value: ' + v + '. Expected: ' + expected[ i ] + '. Tolerance: ' + tol + '.' );
7474
}
7575
t.end();
@@ -89,7 +89,7 @@ tape( 'the function accurately computes the natural exponential function for pos
8989
for ( i = 0; i < x.length; i++ ) {
9090
v = expf( x[ i ] );
9191
delta = absf( v - expected[ i ] );
92-
tol = EPS * absf( expected[ i ] );
92+
tol = EPS * 50 * absf( expected[ i ] );
9393
t.ok( delta <= tol, 'within tolerance. x: ' + x[ i ] + '. Value: ' + v + '. Expected: ' + expected[ i ] + '. Tolerance: ' + tol + '.' );
9494
}
9595
t.end();
@@ -109,7 +109,7 @@ tape( 'the function accurately computes the natural exponential function for neg
109109
for ( i = 0; i < x.length; i++ ) {
110110
v = expf( x[ i ] );
111111
delta = absf( v - expected[ i ] );
112-
tol = EPS * absf( expected[ i ] );
112+
tol = EPS * 50 * absf( expected[ i ] );
113113
t.ok( delta <= tol, 'within tolerance. x: ' + x[ i ] + '. Value: ' + v + '. Expected: ' + expected[ i ] + '. Tolerance: ' + tol + '.' );
114114
}
115115
t.end();
@@ -129,7 +129,7 @@ tape( 'the function accurately computes the natural exponential function for pos
129129
for ( i = 0; i < x.length; i++ ) {
130130
v = expf( x[ i ] );
131131
delta = absf( v - expected[ i ] );
132-
tol = EPS * absf( expected[ i ] );
132+
tol = EPS * 50 * absf( expected[ i ] );
133133
t.ok( delta <= tol, 'within tolerance. x: ' + x[ i ] + '. Value: ' + v + '. Expected: ' + expected[ i ] + '. Tolerance: ' + tol + '.' );
134134
}
135135
t.end();
@@ -149,7 +149,7 @@ tape( 'the function accurately computes the natural exponential function for ver
149149
for ( i = 0; i < x.length; i++ ) {
150150
v = expf( x[ i ] );
151151
delta = absf( v - expected[ i ] );
152-
tol = EPS * absf( expected[ i ] );
152+
tol = EPS * 50 * absf( expected[ i ] );
153153
t.ok( delta <= tol, 'within tolerance. x: ' + x[ i ] + '. Value: ' + v + '. Expected: ' + expected[ i ] + '. Tolerance: ' + tol + '.' );
154154
}
155155
t.end();

0 commit comments

Comments
 (0)