Skip to content

Commit 3741b56

Browse files
committed
Auto-generated commit
1 parent ee961b8 commit 3741b56

4 files changed

Lines changed: 33 additions & 26 deletions

File tree

CHANGELOG.md

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

7-
## Unreleased (2025-04-01)
7+
## Unreleased (2025-04-07)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`630ddb7`](https://github.com/stdlib-js/stdlib/commit/630ddb777824b5f6e501fda6dadf4ce41dccb964) - **test:** replace equal with strictEqual _(by Karan Anand)_
1516
- [`a1e230f`](https://github.com/stdlib-js/stdlib/commit/a1e230f29297caa89880e9c194c615a0400fb7bc) - **chore:** clean up cppcheck-suppress comments _(by Karan Anand)_
1617
- [`2e1dd43`](https://github.com/stdlib-js/stdlib/commit/2e1dd438de6a412fcb94d486933a61709fd250ab) - **chore:** replace manual `for` loop in examples [(#6351)](https://github.com/stdlib-js/stdlib/pull/6351) _(by Harsh)_
1718
- [`e0d7522`](https://github.com/stdlib-js/stdlib/commit/e0d7522fc5f65cbb7e949eeed509a45b208008ec) - **bench:** update random value generation [(#6327)](https://github.com/stdlib-js/stdlib/pull/6327) _(by Harsh, Athan Reines)_

CONTRIBUTORS

Lines changed: 7 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,6 +131,7 @@ 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>

test/test.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,25 @@ tape( 'main export is a function', function test( t ) {
5151

5252
tape( 'if provided `NaN`, the function returns `NaN`', function test( t ) {
5353
var y = erfcinv( NaN );
54-
t.equal( isnan( y ), true, 'returns expected value' );
54+
t.strictEqual( isnan( y ), true, 'returns expected value' );
5555
t.end();
5656
});
5757

5858
tape( 'if provided `0`, the function returns `+infinity`', function test( t ) {
5959
var y = erfcinv( 0.0 );
60-
t.equal( y, PINF, 'returns expected value' );
60+
t.strictEqual( y, PINF, 'returns expected value' );
6161
t.end();
6262
});
6363

6464
tape( 'if provided `2`, the function returns `-infinity`', function test( t ) {
6565
var y = erfcinv( 2.0 );
66-
t.equal( y, NINF, 'returns expected value`' );
66+
t.strictEqual( y, NINF, 'returns expected value`' );
6767
t.end();
6868
});
6969

7070
tape( 'if provided `1`, the function returns `0`', function test( t ) {
7171
var y = erfcinv( 1.0 );
72-
t.equal( isPositiveZero( y ), true, 'returns expected value`' );
72+
t.strictEqual( isPositiveZero( y ), true, 'returns expected value`' );
7373
t.end();
7474
});
7575

@@ -89,7 +89,7 @@ tape( 'if provided a value which is either less than `0` or greater than `2`, th
8989

9090
for ( i = 0; i < values.length; i++ ) {
9191
v = erfcinv( values[i] );
92-
t.equal( isnan( v ), true, 'returns expected value when provided '+values[i] );
92+
t.strictEqual( isnan( v ), true, 'returns expected value when provided '+values[i] );
9393
}
9494
t.end();
9595
});
@@ -107,7 +107,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
107107
for ( i = 0; i < x.length; i++ ) {
108108
y = erfcinv( x[i] );
109109
if ( y === expected[i] ) {
110-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
110+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
111111
} else {
112112
delta = abs( y - expected[ i ] );
113113
tol = 3.0 * EPS * abs( expected[ i ] );
@@ -130,7 +130,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
130130
for ( i = 0; i < x.length; i++ ) {
131131
y = erfcinv( x[i] );
132132
if ( y === expected[i] ) {
133-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
133+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
134134
} else {
135135
delta = abs( y - expected[ i ] );
136136
tol = 3.0 * EPS * abs( expected[ i ] );
@@ -153,7 +153,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
153153
for ( i = 0; i < x.length; i++ ) {
154154
y = erfcinv( x[i] );
155155
if ( y === expected[i] ) {
156-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
156+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
157157
} else {
158158
delta = abs( y - expected[ i ] );
159159
tol = 3.0 * EPS * abs( expected[ i ] );
@@ -176,7 +176,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
176176
for ( i = 0; i < x.length; i++ ) {
177177
y = erfcinv( x[i] );
178178
if ( y === expected[i] ) {
179-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
179+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
180180
} else {
181181
delta = abs( y - expected[ i ] );
182182
tol = 13.0 * EPS * abs( expected[ i ] );
@@ -199,7 +199,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
199199
for ( i = 0; i < x.length; i++ ) {
200200
y = erfcinv( x[i] );
201201
if ( y === expected[i] ) {
202-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
202+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
203203
} else {
204204
delta = abs( y - expected[ i ] );
205205
tol = 14.0 * EPS * abs( expected[ i ] );
@@ -222,7 +222,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
222222
for ( i = 0; i < x.length; i++ ) {
223223
y = erfcinv( x[i] );
224224
if ( y === expected[i] ) {
225-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
225+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
226226
} else {
227227
delta = abs( y - expected[ i ] );
228228
tol = 9.0 * EPS * abs( expected[ i ] );
@@ -248,7 +248,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
248248
expected[ i ] = NINF;
249249
}
250250
if ( y === expected[i] ) {
251-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
251+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
252252
} else {
253253
delta = abs( y - expected[ i ] );
254254
tol = EPS * abs( expected[ i ] );

test/test.native.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,25 @@ tape( 'main export is a function', opts, function test( t ) {
6060

6161
tape( 'if provided `NaN`, the function returns `NaN`', opts, function test( t ) {
6262
var y = erfcinv( NaN );
63-
t.equal( isnan( y ), true, 'returns expected value' );
63+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6464
t.end();
6565
});
6666

6767
tape( 'if provided `0`, the function returns `+infinity`', opts, function test( t ) {
6868
var y = erfcinv( 0.0 );
69-
t.equal( y, PINF, 'returns expected value' );
69+
t.strictEqual( y, PINF, 'returns expected value' );
7070
t.end();
7171
});
7272

7373
tape( 'if provided `2`, the function returns `-infinity`', opts, function test( t ) {
7474
var y = erfcinv( 2.0 );
75-
t.equal( y, NINF, 'returns expected value' );
75+
t.strictEqual( y, NINF, 'returns expected value' );
7676
t.end();
7777
});
7878

7979
tape( 'if provided `1`, the function returns `0`', opts, function test( t ) {
8080
var y = erfcinv( 1.0 );
81-
t.equal( isPositiveZero( y ), true, 'returns expected value`' );
81+
t.strictEqual( isPositiveZero( y ), true, 'returns expected value`' );
8282
t.end();
8383
});
8484

@@ -98,7 +98,7 @@ tape( 'if provided a value which is either less than `0` or greater than `2`, th
9898

9999
for ( i = 0; i < values.length; i++ ) {
100100
v = erfcinv( values[i] );
101-
t.equal( isnan( v ), true, 'returns expected value when provided '+values[i] );
101+
t.strictEqual( isnan( v ), true, 'returns expected value when provided '+values[i] );
102102
}
103103
t.end();
104104
});
@@ -116,7 +116,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
116116
for ( i = 0; i < x.length; i++ ) {
117117
y = erfcinv( 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 = 3.0 * EPS * abs( expected[ i ] );
@@ -139,7 +139,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
139139
for ( i = 0; i < x.length; i++ ) {
140140
y = erfcinv( 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 = 3.0 * EPS * abs( expected[ i ] );
@@ -162,7 +162,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
162162
for ( i = 0; i < x.length; i++ ) {
163163
y = erfcinv( 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 = 3.0 * EPS * abs( expected[ i ] );
@@ -185,7 +185,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
185185
for ( i = 0; i < x.length; i++ ) {
186186
y = erfcinv( 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 = 13.0 * EPS * abs( expected[ i ] );
@@ -208,7 +208,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
208208
for ( i = 0; i < x.length; i++ ) {
209209
y = erfcinv( 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 = 14.0 * EPS * abs( expected[ i ] );
@@ -231,7 +231,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
231231
for ( i = 0; i < x.length; i++ ) {
232232
y = erfcinv( 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 = 9.0 * EPS * abs( expected[ i ] );
@@ -257,7 +257,7 @@ tape( 'the function evaluates the inverse complementary error function for `x` o
257257
expected[ i ] = NINF;
258258
}
259259
if ( y === expected[i] ) {
260-
t.equal( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
260+
t.strictEqual( y, expected[i], 'x: '+x[i]+', y: '+y+', expected: '+expected[i] );
261261
} else {
262262
delta = abs( y - expected[ i ] );
263263
tol = EPS * abs( expected[ i ] );

0 commit comments

Comments
 (0)