Skip to content

Commit 97f8ec8

Browse files
committed
chore: apply review changes
1 parent db761b5 commit 97f8ec8

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

lib/node_modules/@stdlib/blas/base/snrm2-wasm/benchmark/benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var hasWebAssemblySupport = require( '@stdlib/assert/has-wasm-support' );
2525
var uniform = require( '@stdlib/random/array/uniform' );
26-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
26+
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
2727
var pow = require( '@stdlib/math/base/special/pow' );
2828
var pkg = require( './../package.json' ).name;
2929
var snrm2 = require( './../lib' );
@@ -65,12 +65,12 @@ function createBenchmark( len ) {
6565
b.tic();
6666
for ( i = 0; i < b.iterations; i++ ) {
6767
out = snrm2.main( x.length, x, 1 );
68-
if ( isnan( out ) ) {
68+
if ( isnanf( out ) ) {
6969
b.fail( 'should not return NaN' );
7070
}
7171
}
7272
b.toc();
73-
if ( isnan( out ) ) {
73+
if ( isnanf( out ) ) {
7474
b.fail( 'should not return NaN' );
7575
}
7676
b.pass( 'benchmark finished' );

lib/node_modules/@stdlib/blas/base/snrm2-wasm/benchmark/benchmark.module.main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var hasWebAssemblySupport = require( '@stdlib/assert/has-wasm-support' );
2525
var Memory = require( '@stdlib/wasm/memory' );
2626
var bytesPerElement = require( '@stdlib/ndarray/base/bytes-per-element' );
2727
var uniform = require( '@stdlib/random/array/uniform' );
28-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
28+
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
2929
var pow = require( '@stdlib/math/base/special/pow' );
3030
var pkg = require( './../package.json' ).name;
3131
var snrm2 = require( './../lib' );
@@ -89,12 +89,12 @@ function createBenchmark( len ) {
8989
b.tic();
9090
for ( i = 0; i < b.iterations; i++ ) {
9191
out = mod.main( len, xptr, 1 );
92-
if ( isnan( out ) ) {
92+
if ( isnanf( out ) ) {
9393
b.fail( 'should not return NaN' );
9494
}
9595
}
9696
b.toc();
97-
if ( isnan( out ) ) {
97+
if ( isnanf( out ) ) {
9898
b.fail( 'should not return NaN' );
9999
}
100100
b.pass( 'benchmark finished' );

lib/node_modules/@stdlib/blas/base/snrm2-wasm/benchmark/benchmark.module.ndarray.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var hasWebAssemblySupport = require( '@stdlib/assert/has-wasm-support' );
2525
var Memory = require( '@stdlib/wasm/memory' );
2626
var bytesPerElement = require( '@stdlib/ndarray/base/bytes-per-element' );
2727
var uniform = require( '@stdlib/random/array/uniform' );
28-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
28+
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
2929
var pow = require( '@stdlib/math/base/special/pow' );
3030
var pkg = require( './../package.json' ).name;
3131
var snrm2 = require( './../lib' );
@@ -89,12 +89,12 @@ function createBenchmark( len ) {
8989
b.tic();
9090
for ( i = 0; i < b.iterations; i++ ) {
9191
out = mod.ndarray( len, xptr, 1, 0 );
92-
if ( isnan( out ) ) {
92+
if ( isnanf( out ) ) {
9393
b.fail( 'should not return NaN' );
9494
}
9595
}
9696
b.toc();
97-
if ( isnan( out ) ) {
97+
if ( isnanf( out ) ) {
9898
b.fail( 'should not return NaN' );
9999
}
100100
b.pass( 'benchmark finished' );

lib/node_modules/@stdlib/blas/base/snrm2-wasm/benchmark/benchmark.ndarray.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var hasWebAssemblySupport = require( '@stdlib/assert/has-wasm-support' );
2525
var uniform = require( '@stdlib/random/array/uniform' );
26-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
26+
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
2727
var pow = require( '@stdlib/math/base/special/pow' );
2828
var pkg = require( './../package.json' ).name;
2929
var snrm2 = require( './../lib' );
@@ -65,12 +65,12 @@ function createBenchmark( len ) {
6565
b.tic();
6666
for ( i = 0; i < b.iterations; i++ ) {
6767
out = snrm2.ndarray( x.length, x, 1, 0 );
68-
if ( isnan( out ) ) {
68+
if ( isnanf( out ) ) {
6969
b.fail( 'should not return NaN' );
7070
}
7171
}
7272
b.toc();
73-
if ( isnan( out ) ) {
73+
if ( isnanf( out ) ) {
7474
b.fail( 'should not return NaN' );
7575
}
7676
b.pass( 'benchmark finished' );

lib/node_modules/@stdlib/blas/base/snrm2-wasm/docs/repl.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Indexing is relative to the first index. To introduce an offset, use typed
99
array views.
1010

11-
If `N <= 0` the function returns `0.0`.
11+
If `N <= 0`, the function returns `0.0`.
1212

1313
Parameters
1414
----------
@@ -349,7 +349,7 @@
349349
Int32Array before passing the values to this method.
350350

351351
If provided an array having an unknown or "generic" data type, elements are
352-
written as double-precision floating-point numbers.
352+
written as single-precision floating-point numbers.
353353

354354
Parameters
355355
----------
@@ -388,7 +388,7 @@
388388
after reading memory values using this method.
389389

390390
If provided an output array having an unknown or "generic" data type,
391-
elements are read as double-precision floating-point numbers.
391+
elements are read as single-precision floating-point numbers.
392392

393393
Parameters
394394
----------

0 commit comments

Comments
 (0)