Skip to content

Commit 730132e

Browse files
fix: CI errors
1 parent 0a9419a commit 730132e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/math/base/special/ceil2f/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ bench( pkg, function benchmark( b ) {
4343
}
4444
}
4545
b.toc();
46-
if ( isnanf( y ) ) {
46+
if ( isnan( y ) ) {
4747
b.fail( 'should not return NaN' );
4848
}
4949
b.pass( 'benchmark finished' );

lib/node_modules/@stdlib/math/base/special/ceil2f/benchmark/benchmark.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var resolve = require( 'path' ).resolve;
2424
var bench = require( '@stdlib/bench' );
2525
var randu = require( '@stdlib/random/base/randu' );
26-
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
26+
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2727
var pkg = require( './../package.json' ).name;
2828
var tryRequire = require( '@stdlib/utils/try-require' );
2929

@@ -47,12 +47,12 @@ bench( pkg+'::native', opts, function benchmark( b ) {
4747
for ( i = 0; i < b.iterations; i++ ) {
4848
x = ( randu()*1.0e7 ) - 5.0e6;
4949
y = ceil2f( x );
50-
if ( isnanf( y ) ) {
50+
if ( isnan( y ) ) {
5151
b.fail( 'should not return NaN' );
5252
}
5353
}
5454
b.toc();
55-
if ( isnanf( y ) ) {
55+
if ( isnan( y ) ) {
5656
b.fail( 'should not return NaN' );
5757
}
5858
b.pass( 'benchmark finished' );

lib/node_modules/@stdlib/math/base/special/ceil2f/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
#include "stdlib/math/base/special/ceil2f.h"
20-
#include "stdlib/math/base/assert/is_nanf.h"
20+
#include "stdlib/math/base/assert/is_nan.h"
2121
#include "stdlib/math/base/assert/is_infinitef.h"
2222
#include "stdlib/math/base/special/pow.h"
2323
#include "stdlib/math/base/special/floorf.h"
@@ -43,7 +43,7 @@ float stdlib_base_ceil2f( const float x ) {
4343
float p;
4444

4545
xc = x;
46-
if ( stdlib_base_is_nanf( xc ) || stdlib_base_is_infinitef( xc ) || xc == 0.0f ) {
46+
if ( stdlib_base_is_nan( xc ) || stdlib_base_is_infinitef( xc ) || xc == 0.0f ) {
4747
return xc;
4848
}
4949
if ( xc < 0.0f ) {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var tape = require( 'tape' );
2424
var NINF = require( '@stdlib/constants/float32/ninf' );
2525
var PINF = require( '@stdlib/constants/float32/pinf' );
2626
var SMALLEST_SUBNORMAL = require( '@stdlib/constants/float32/smallest-subnormal' );
27-
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
27+
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2828
var isNegativeZero = require( '@stdlib/math/base/assert/is-negative-zero' );
2929
var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' );
3030
var exp2f = require( '@stdlib/math/base/special/exp2f' );
@@ -60,7 +60,7 @@ tape( 'the function returns `-0` if provided `-0`', function test( t ) {
6060

6161
tape( 'the function returns `NaN` if provided a `NaN`', function test( t ) {
6262
var v = ceil2f( NaN );
63-
t.strictEqual( isnanf( v ), true, 'returns NaN' );
63+
t.strictEqual( isnan( v ), true, 'returns NaN' );
6464
t.end();
6565
});
6666

lib/node_modules/@stdlib/math/base/special/ceil2f/test/test.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var tape = require( 'tape' );
2525
var NINF = require( '@stdlib/constants/float32/ninf' );
2626
var PINF = require( '@stdlib/constants/float32/pinf' );
2727
var SMALLEST_SUBNORMAL = require( '@stdlib/constants/float32/smallest-subnormal' );
28-
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
28+
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2929
var isNegativeZero = require( '@stdlib/math/base/assert/is-negative-zero' );
3030
var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' );
3131
var exp2f = require( '@stdlib/math/base/special/exp2f' );
@@ -69,7 +69,7 @@ tape( 'the function returns `-0` if provided `-0`', opts, function test( t ) {
6969

7070
tape( 'the function returns `NaN` if provided a `NaN`', opts, function test( t ) {
7171
var v = ceil2f( NaN );
72-
t.strictEqual( isnanf( v ), true, 'returns NaN' );
72+
t.strictEqual( isnan( v ), true, 'returns NaN' );
7373
t.end();
7474
});
7575

0 commit comments

Comments
 (0)