We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
number/float32/base/signbit
1 parent 345c740 commit 825738aCopy full SHA for 825738a
1 file changed
lib/node_modules/@stdlib/number/float32/base/signbit/benchmark/benchmark.js
@@ -39,7 +39,7 @@ bench( pkg, function benchmark( b ) {
39
for ( i = 0; i < b.iterations; i++ ) {
40
x = ( randu()*1.0e7 ) - 5.0e6;
41
y = signbitf( toFloat32( x ) );
42
- if ( typeof bool !== 'boolean' ) {
+ if ( typeof y !== 'boolean' ) {
43
b.fail( 'should return a boolean' );
44
}
45
0 commit comments