Skip to content

Commit eea596c

Browse files
authored
docs: fix spacing
Signed-off-by: Gunj Joshi <[email protected]>
1 parent 10b5b16 commit eea596c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/math/base/assert/is-oddf/test/test.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ tape( 'the function returns `true` if provided an odd number', opts, function te
6464
var i;
6565
for ( i = 0; i < 1000; i++ ) {
6666
x = roundf( randu() * 1.0e6 ) - 5.0e5;
67-
if ( x%2 === 0 ) {
67+
if ( x % 2 === 0 ) {
6868
x += 1;
6969
}
7070
bool = isOddf( x );
@@ -91,6 +91,6 @@ tape( 'WARNING: the function returns `true` if provided `-infinity`', opts, func
9191

9292
tape( 'the function returns `false` if provided `NaN`', opts, function test( t ) {
9393
t.equal( isOddf( NaN ), false, 'returns expected value' );
94-
t.equal( isOddf( 0.0/0.0 ), false, 'returns expected value' );
94+
t.equal( isOddf( 0.0 / 0.0 ), false, 'returns expected value' );
9595
t.end();
9696
});

0 commit comments

Comments
 (0)