Skip to content

Commit cb087b9

Browse files
authored
style: resolve lint error
Signed-off-by: Athan <kgryte@gmail.com>
1 parent ff33411 commit cb087b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • lib/node_modules/@stdlib/math/base/special/binomcoeff/test

lib/node_modules/@stdlib/math/base/special/binomcoeff/test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ tape( 'the function evaluates the binomial coefficient for integers `n` and `k`'
6464
for ( i = 0; i < n.length; i++ ) {
6565
v = binomcoeff( n[ i ], k[ i ] );
6666
expected[ i ] = float64ToFloat32( expected[ i ] );
67+
6768
// NOTE: Exact comparison fails for large values due to single-precision floating-point rounding errors when intermediate results exceed the maximum safe integer for a 32-bit float.
6869
t.strictEqual( isAlmostSameValue( v, expected[ i ], 2 ), true, 'returns expected value' );
6970
}

0 commit comments

Comments
 (0)