File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
lib/node_modules/@stdlib/blas/base/icamax/benchmark Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2222
2323var bench = require ( '@stdlib/bench' ) ;
2424var uniform = require ( '@stdlib/random/array/uniform' ) ;
25- var isnan = require ( '@stdlib/math/base/assert/is-nan ' ) ;
25+ var isnanf = require ( '@stdlib/math/base/assert/is-nanf ' ) ;
2626var pow = require ( '@stdlib/math/base/special/pow' ) ;
2727var Complex64Array = require ( '@stdlib/array/complex64' ) ;
2828var pkg = require ( './../package.json' ) . name ;
@@ -63,12 +63,12 @@ function createBenchmark( len ) {
6363 b . tic ( ) ;
6464 for ( i = 0 ; i < b . iterations ; i ++ ) {
6565 y = icamax ( x . length , x , 1 ) ;
66- if ( isnan ( y ) ) {
66+ if ( isnanf ( y ) ) {
6767 b . fail ( 'should not return NaN' ) ;
6868 }
6969 }
7070 b . toc ( ) ;
71- if ( isnan ( y ) ) {
71+ if ( isnanf ( y ) ) {
7272 b . fail ( 'should not return NaN' ) ;
7373 }
7474 b . pass ( 'benchmark finished' ) ;
Original file line number Diff line number Diff line change 2222
2323var bench = require ( '@stdlib/bench' ) ;
2424var uniform = require ( '@stdlib/random/array/uniform' ) ;
25- var isnan = require ( '@stdlib/math/base/assert/is-nan ' ) ;
25+ var isnanf = require ( '@stdlib/math/base/assert/is-nanf ' ) ;
2626var pow = require ( '@stdlib/math/base/special/pow' ) ;
2727var Complex64Array = require ( '@stdlib/array/complex64' ) ;
2828var pkg = require ( './../package.json' ) . name ;
@@ -63,12 +63,12 @@ function createBenchmark( len ) {
6363 b . tic ( ) ;
6464 for ( i = 0 ; i < b . iterations ; i ++ ) {
6565 y = icamax ( x . length , x , 1 , 0 ) ;
66- if ( isnan ( y ) ) {
66+ if ( isnanf ( y ) ) {
6767 b . fail ( 'should not return NaN' ) ;
6868 }
6969 }
7070 b . toc ( ) ;
71- if ( isnan ( y ) ) {
71+ if ( isnanf ( y ) ) {
7272 b . fail ( 'should not return NaN' ) ;
7373 }
7474 b . pass ( 'benchmark finished' ) ;
You can’t perform that action at this time.
0 commit comments