Skip to content

Commit a830720

Browse files
committed
Auto-generated commit
1 parent 8313faa commit a830720

File tree

4 files changed

+50
-40
lines changed

4 files changed

+50
-40
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-03-29)
7+
## Unreleased (2025-04-07)
88

99
<section class="reverts">
1010

@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`630ddb7`](https://github.com/stdlib-js/stdlib/commit/630ddb777824b5f6e501fda6dadf4ce41dccb964) - **test:** replace equal with strictEqual _(by Karan Anand)_
2526
- [`a644ffe`](https://github.com/stdlib-js/stdlib/commit/a644ffeba579430f342444b80fa9d21cc4a635f4) - **chore:** remove obsolete accuracy and precision scripts [(#6435)](https://github.com/stdlib-js/stdlib/pull/6435) _(by Karan Anand)_
2627
- [`44445ab`](https://github.com/stdlib-js/stdlib/commit/44445ab0a65a29e3bb593a11f87d9035e552474f) - **bench:** update random value generation [(#6302)](https://github.com/stdlib-js/stdlib/pull/6302) _(by Harsh)_
2728
- [`b0e68c5`](https://github.com/stdlib-js/stdlib/commit/b0e68c5bc8ee985794eb2ea1791c9337cd15fbd0) - **chore:** update to modern benchmark Makefile _(by Philipp Burckhardt)_

CONTRIBUTORS

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Dev Goel <135586571+corsairier@users.noreply.github.com>
4343
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
4444
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
4545
Dhruvil Mehta <68022411+dhruvilmehta@users.noreply.github.com>
46+
Dipjyoti Das <126075231+dipexplorer@users.noreply.github.com>
4647
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
4748
Dominic Lim <46486515+domlimm@users.noreply.github.com>
4849
Dominik Moritz <domoritz@gmail.com>
@@ -75,7 +76,7 @@ Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
7576
Joris Labie <joris.labie1@gmail.com>
7677
Justin Dennison <justin1dennison@gmail.com>
7778
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
78-
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
79+
Karan Anand <anandkarancompsci@gmail.com>
7980
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8081
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
8182
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
@@ -95,9 +96,12 @@ Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
9596
Mohammad Kaif <mdkaifprofession@gmail.com>
9697
Momtchil Momtchev <momtchil@momtchev.com>
9798
Muhammad Haris <harriskhan047@outlook.com>
99+
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
100+
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
98101
Naresh Jagadeesan <naresh.naresh000@gmail.com>
99102
Naveen Kumar <stupiddint@gmail.com>
100103
Neeraj Pathak <neerajrpathak710@gmail.com>
104+
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
101105
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
102106
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
103107
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
@@ -111,6 +115,7 @@ Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
111115
Pranav Goswami <pranavchiku11@gmail.com>
112116
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
113117
Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
118+
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
114119
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
115120
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
116121
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
@@ -126,12 +131,15 @@ Rishav <115060907+rishav2404@users.noreply.github.com>
126131
Rishav Tarway <rishavtarway@gmail.com>
127132
Robert Gislason <gztown2216@yahoo.com>
128133
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
134+
Rupa <102663541+Rupa-Rd@users.noreply.github.com>
129135
Rutam Kathale <138517416+performant23@users.noreply.github.com>
130136
Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
131137
Ryan Seal <splrk@users.noreply.github.com>
132138
Rylan Yang <137365285+rylany27@users.noreply.github.com>
133139
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
134140
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
141+
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
142+
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
135143
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
136144
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
137145
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
@@ -169,6 +177,7 @@ Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
169177
ditsu <170345142+ditsus@users.noreply.github.com>
170178
ekambains <bainsinbusiness@gmail.com>
171179
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
180+
lohithganni <116790357+lohithganni@users.noreply.github.com>
172181
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
173182
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
174183
rahulrangers <127782777+rahulrangers@users.noreply.github.com>

test/test.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[-50,-500]'
7070
for ( i = 0; i < x.length; i++ ) {
7171
y = cbrt( x[i] );
7272
if ( y === expected[i] ) {
73-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
73+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
7474
} else {
7575
delta = abs( y - expected[ i ] );
7676
tol = EPS * abs( expected[ i ] );
@@ -93,7 +93,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[50,500]`',
9393
for ( i = 0; i < x.length; i++ ) {
9494
y = cbrt( x[i] );
9595
if ( y === expected[i] ) {
96-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
96+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
9797
} else {
9898
delta = abs( y - expected[ i ] );
9999
tol = EPS * abs( expected[ i ] );
@@ -116,7 +116,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[-20,-50]`'
116116
for ( i = 0; i < x.length; i++ ) {
117117
y = cbrt( x[i] );
118118
if ( y === expected[i] ) {
119-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
119+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
120120
} else {
121121
delta = abs( y - expected[ i ] );
122122
tol = EPS * abs( expected[ i ] );
@@ -139,7 +139,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[20,50]`',
139139
for ( i = 0; i < x.length; i++ ) {
140140
y = cbrt( x[i] );
141141
if ( y === expected[i] ) {
142-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
142+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
143143
} else {
144144
delta = abs( y - expected[ i ] );
145145
tol = EPS * abs( expected[ i ] );
@@ -162,7 +162,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[-20,-3]`',
162162
for ( i = 0; i < x.length; i++ ) {
163163
y = cbrt( x[i] );
164164
if ( y === expected[i] ) {
165-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
165+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
166166
} else {
167167
delta = abs( y - expected[ i ] );
168168
tol = EPS * abs( expected[ i ] );
@@ -185,7 +185,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[3,20]`', f
185185
for ( i = 0; i < x.length; i++ ) {
186186
y = cbrt( x[i] );
187187
if ( y === expected[i] ) {
188-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
188+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
189189
} else {
190190
delta = abs( y - expected[ i ] );
191191
tol = EPS * abs( expected[ i ] );
@@ -208,7 +208,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[-3,-0.8]`'
208208
for ( i = 0; i < x.length; i++ ) {
209209
y = cbrt( x[i] );
210210
if ( y === expected[i] ) {
211-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
211+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
212212
} else {
213213
delta = abs( y - expected[ i ] );
214214
tol = EPS * abs( expected[ i ] );
@@ -231,7 +231,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[0.8,3]`',
231231
for ( i = 0; i < x.length; i++ ) {
232232
y = cbrt( x[i] );
233233
if ( y === expected[i] ) {
234-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
234+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
235235
} else {
236236
delta = abs( y - expected[ i ] );
237237
tol = EPS * abs( expected[ i ] );
@@ -254,7 +254,7 @@ tape( 'the function evaluates cubic root of `x` on the interval `[-0.8,0.8]`', f
254254
for ( i = 0; i < x.length; i++ ) {
255255
y = cbrt( x[i] );
256256
if ( y === expected[i] ) {
257-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
257+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
258258
} else {
259259
delta = abs( y - expected[ i ] );
260260
tol = EPS * abs( expected[ i ] );
@@ -277,7 +277,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[-1e-300,-1
277277
for ( i = 0; i < x.length; i++ ) {
278278
y = cbrt( x[i] );
279279
if ( y === expected[i] ) {
280-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
280+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
281281
} else {
282282
delta = abs( y - expected[ i ] );
283283
tol = EPS * abs( expected[ i ] );
@@ -300,7 +300,7 @@ tape( 'the function evaluates the cubic root of `x` on the interval `[1e-300,1e-
300300
for ( i = 0; i < x.length; i++ ) {
301301
y = cbrt( x[i] );
302302
if ( y === expected[i] ) {
303-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
303+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
304304
} else {
305305
delta = abs( y - expected[ i ] );
306306
tol = EPS * abs( expected[ i ] );
@@ -323,7 +323,7 @@ tape( 'the function evaluates the cubic root of subnormal `x`', function test( t
323323
for ( i = 0; i < x.length; i++ ) {
324324
y = cbrt( x[i] );
325325
if ( y === expected[i] ) {
326-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
326+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
327327
} else {
328328
delta = abs( y - expected[ i ] );
329329
tol = EPS * abs( expected[ i ] );
@@ -347,7 +347,7 @@ tape( 'the function evaluates the cubic root of `x` (huge negative)', function t
347347
for ( i = 0; i < x.length; i++ ) {
348348
y = cbrt( x[i] );
349349
if ( y === expected[i] ) {
350-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
350+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
351351
} else {
352352
delta = abs( y - expected[ i ] );
353353
tol = EPS * abs( expected[ i ] );
@@ -371,7 +371,7 @@ tape( 'the function evaluates the cubic root of `x` (huge positive)', function t
371371
for ( i = 0; i < x.length; i++ ) {
372372
y = cbrt( x[i] );
373373
if ( y === expected[i] ) {
374-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
374+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
375375
} else {
376376
delta = abs( y - expected[ i ] );
377377
tol = EPS * abs( expected[ i ] );
@@ -383,30 +383,30 @@ tape( 'the function evaluates the cubic root of `x` (huge positive)', function t
383383

384384
tape( 'the function returns `NaN` if provided `NaN`', function test( t ) {
385385
var v = cbrt( NaN );
386-
t.equal( isnan( v ), true, 'returns expected value' );
386+
t.strictEqual( isnan( v ), true, 'returns expected value' );
387387
t.end();
388388
});
389389

390390
tape( 'the function returns `-infinity` if provided `-infinity`', function test( t ) {
391391
var v = cbrt( NINF );
392-
t.equal( v, NINF, 'returns expected value' );
392+
t.strictEqual( v, NINF, 'returns expected value' );
393393
t.end();
394394
});
395395

396396
tape( 'the function returns `+infinity` if provided `+infinity`', function test( t ) {
397397
var v = cbrt( PINF );
398-
t.equal( v, PINF, 'returns expected value' );
398+
t.strictEqual( v, PINF, 'returns expected value' );
399399
t.end();
400400
});
401401

402402
tape( 'the function returns `+0` if provided `+0`', function test( t ) {
403403
var v = cbrt( +0.0 );
404-
t.equal( isPositiveZero( v ), true, 'returns expected value' );
404+
t.strictEqual( isPositiveZero( v ), true, 'returns expected value' );
405405
t.end();
406406
});
407407

408408
tape( 'the function returns `-0` if provided `-0`', function test( t ) {
409409
var v = cbrt( -0.0 );
410-
t.equal( isNegativeZero( v ), true, 'returns expected value' );
410+
t.strictEqual( isNegativeZero( v ), true, 'returns expected value' );
411411
t.end();
412412
});

0 commit comments

Comments
 (0)