Skip to content

Commit e25618e

Browse files
committed
Auto-generated commit
1 parent 3619be2 commit e25618e

File tree

4 files changed

+29
-22
lines changed

4 files changed

+29
-22
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-04-01)
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
- [`a1e230f`](https://github.com/stdlib-js/stdlib/commit/a1e230f29297caa89880e9c194c615a0400fb7bc) - **chore:** clean up cppcheck-suppress comments _(by Karan Anand)_
2627
- [`850472b`](https://github.com/stdlib-js/stdlib/commit/850472b35f4cf47cab44047acd94a9120d6d5b77) - **docs:** replace manual `for` loop in examples [(#6182)](https://github.com/stdlib-js/stdlib/pull/6182) _(by Karan Anand)_
2728
- [`c122b62`](https://github.com/stdlib-js/stdlib/commit/c122b62161a7a9ce7d06562e1083518d7c8130fe) - **bench:** update random value generation [(#5341)](https://github.com/stdlib-js/stdlib/pull/5341) _(by Karan Anand)_

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: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for medium positiv
6161
for ( i = 0; i < x.length; i++ ) {
6262
y = acoth( x[ i ] );
6363
if ( y === expected[ i ] ) {
64-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
64+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
6565
} else {
6666
delta = abs( y - expected[i] );
6767
tol = 1.0 * EPS * abs( expected[i] );
@@ -84,7 +84,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for medium negativ
8484
for ( i = 0; i < x.length; i++ ) {
8585
y = acoth( x[ i ] );
8686
if ( y === expected[ i ] ) {
87-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
87+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
8888
} else {
8989
delta = abs( y - expected[i] );
9090
tol = 1.0 * EPS * abs( expected[i] );
@@ -107,7 +107,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for large positive
107107
for ( i = 0; i < x.length; i++ ) {
108108
y = acoth( x[ i ] );
109109
if ( y === expected[ i ] ) {
110-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
110+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
111111
} else {
112112
delta = abs( y - expected[i] );
113113
tol = 1.0 * EPS * abs( expected[i] );
@@ -130,7 +130,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for large negative
130130
for ( i = 0; i < x.length; i++ ) {
131131
y = acoth( x[ i ] );
132132
if ( y === expected[ i ] ) {
133-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
133+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
134134
} else {
135135
delta = abs( y - expected[i] );
136136
tol = 1.0 * EPS * abs( expected[i] );
@@ -153,7 +153,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for larger positiv
153153
for ( i = 0; i < x.length; i++ ) {
154154
y = acoth( x[ i ] );
155155
if ( y === expected[ i ] ) {
156-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
156+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
157157
} else {
158158
delta = abs( y - expected[i] );
159159
tol = 1.0 * EPS * abs( expected[i] );
@@ -176,7 +176,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for larger negativ
176176
for ( i = 0; i < x.length; i++ ) {
177177
y = acoth( x[ i ] );
178178
if ( y === expected[ i ] ) {
179-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
179+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
180180
} else {
181181
delta = abs( y - expected[i] );
182182
tol = 1.0 * EPS * abs( expected[i] );
@@ -199,7 +199,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for huge positive
199199
for ( i = 0; i < x.length; i++ ) {
200200
y = acoth( x[ i ] );
201201
if ( y === expected[ i ] ) {
202-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
202+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
203203
} else {
204204
delta = abs( y - expected[i] );
205205
tol = 1.0 * EPS * abs( expected[i] );
@@ -222,7 +222,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for huge negative
222222
for ( i = 0; i < x.length; i++ ) {
223223
y = acoth( x[ i ] );
224224
if ( y === expected[ i ] ) {
225-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
225+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
226226
} else {
227227
delta = abs( y - expected[i] );
228228
tol = 1.0 * EPS * abs( expected[i] );
@@ -234,7 +234,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for huge negative
234234

235235
tape( 'the function returns `NaN` if provided `NaN`', function test( t ) {
236236
var v = acoth( NaN );
237-
t.equal( isnan( v ), true, 'returns expected value' );
237+
t.strictEqual( isnan( v ), true, 'returns expected value' );
238238
t.end();
239239
});
240240

@@ -244,7 +244,7 @@ tape( 'the function returns `NaN` if provided a value on the open interval (-1,1
244244

245245
for ( i = 0; i < 1e3; i++ ) {
246246
v = ( randu()*2.0 ) - 1.0;
247-
t.equal( isnan( acoth( v ) ), true, 'returns expected value when provided '+v );
247+
t.strictEqual( isnan( acoth( v ) ), true, 'returns expected value when provided '+v );
248248
}
249249
t.end();
250250
});

test/test.native.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for medium positiv
7070
for ( i = 0; i < x.length; i++ ) {
7171
y = acoth( x[ i ] );
7272
if ( y === expected[ i ] ) {
73-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
73+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
7474
} else {
7575
delta = abs( y - expected[i] );
7676
tol = 1.0 * EPS * abs( expected[i] );
@@ -93,7 +93,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for medium negativ
9393
for ( i = 0; i < x.length; i++ ) {
9494
y = acoth( x[ i ] );
9595
if ( y === expected[ i ] ) {
96-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
96+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
9797
} else {
9898
delta = abs( y - expected[i] );
9999
tol = 1.0 * EPS * abs( expected[i] );
@@ -116,7 +116,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for large positive
116116
for ( i = 0; i < x.length; i++ ) {
117117
y = acoth( x[ i ] );
118118
if ( y === expected[ i ] ) {
119-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
119+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
120120
} else {
121121
delta = abs( y - expected[i] );
122122
tol = 1.0 * EPS * abs( expected[i] );
@@ -139,7 +139,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for large negative
139139
for ( i = 0; i < x.length; i++ ) {
140140
y = acoth( x[ i ] );
141141
if ( y === expected[ i ] ) {
142-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
142+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
143143
} else {
144144
delta = abs( y - expected[i] );
145145
tol = 1.0 * EPS * abs( expected[i] );
@@ -162,7 +162,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for larger positiv
162162
for ( i = 0; i < x.length; i++ ) {
163163
y = acoth( x[ i ] );
164164
if ( y === expected[ i ] ) {
165-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
165+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
166166
} else {
167167
delta = abs( y - expected[i] );
168168
tol = 1.0 * EPS * abs( expected[i] );
@@ -185,7 +185,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for larger negativ
185185
for ( i = 0; i < x.length; i++ ) {
186186
y = acoth( x[ i ] );
187187
if ( y === expected[ i ] ) {
188-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
188+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
189189
} else {
190190
delta = abs( y - expected[i] );
191191
tol = 1.0 * EPS * abs( expected[i] );
@@ -208,7 +208,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for huge positive
208208
for ( i = 0; i < x.length; i++ ) {
209209
y = acoth( x[ i ] );
210210
if ( y === expected[ i ] ) {
211-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
211+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
212212
} else {
213213
delta = abs( y - expected[i] );
214214
tol = 1.0 * EPS * abs( expected[i] );
@@ -231,7 +231,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for huge negative
231231
for ( i = 0; i < x.length; i++ ) {
232232
y = acoth( x[ i ] );
233233
if ( y === expected[ i ] ) {
234-
t.equal( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
234+
t.strictEqual( y, expected[ i ], 'x: '+x[i]+'. E: '+expected[i]+'.' );
235235
} else {
236236
delta = abs( y - expected[i] );
237237
tol = 1.0 * EPS * abs( expected[i] );
@@ -243,7 +243,7 @@ tape( 'the function computes the inverse hyperbolic cotangent for huge negative
243243

244244
tape( 'the function returns `NaN` if provided `NaN`', opts, function test( t ) {
245245
var v = acoth( NaN );
246-
t.equal( isnan( v ), true, 'returns expected value' );
246+
t.strictEqual( isnan( v ), true, 'returns expected value' );
247247
t.end();
248248
});
249249

@@ -253,7 +253,7 @@ tape( 'the function returns `NaN` if provided a value on the open interval (-1,1
253253

254254
for ( i = 0; i < 1e3; i++ ) {
255255
v = ( randu()*2.0 ) - 1.0;
256-
t.equal( isnan( acoth( v ) ), true, 'returns expected value when provided '+v );
256+
t.strictEqual( isnan( acoth( v ) ), true, 'returns expected value when provided '+v );
257257
}
258258
t.end();
259259
});

0 commit comments

Comments
 (0)