Skip to content

Commit 23173b4

Browse files
committed
Auto-generated commit
1 parent 547eb6b commit 23173b4

File tree

4 files changed

+53
-11
lines changed

4 files changed

+53
-11
lines changed

.github/.keepalive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-07-28T00:51:45.247Z
1+
2025-08-18T00:43:58.743Z

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2025-08-18)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`7483bef`](https://github.com/stdlib-js/stdlib/commit/7483bef13b1d3241347266d25a02957269419825) - **test:** use .strictEqual() instead of .equal() _(by Philipp Burckhardt)_
16+
17+
</details>
18+
19+
</section>
20+
21+
<!-- /.commits -->
22+
23+
<section class="contributors">
24+
25+
### Contributors
26+
27+
A total of 1 person contributed to this release. Thank you to this contributor:
28+
29+
- Philipp Burckhardt
30+
31+
</section>
32+
33+
<!-- /.contributors -->
34+
35+
</section>
36+
37+
<!-- /.release -->
38+
539
<section class="release" id="v0.2.2">
640

741
## 0.2.2 (2024-07-28)

CONTRIBUTORS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
99
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
1010
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
1111
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1213
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1314
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1415
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1517
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1618
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1719
Ahmed Khaled <kahmd1444@gmail.com>
@@ -119,6 +121,8 @@ Momtchil Momtchev <momtchil@momtchev.com>
119121
Muhammad Haris <harriskhan047@outlook.com>
120122
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
121123
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
124+
NEEKUorAAYUSH <aayush10072004@gmail.com>
125+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
122126
Naresh Jagadeesan <naresh.naresh000@gmail.com>
123127
Naveen Kumar <stupiddint@gmail.com>
124128
Neeraj Pathak <neerajrpathak710@gmail.com>
@@ -133,6 +137,7 @@ Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
133137
Ori Miles <97595296+orimiles5@users.noreply.github.com>
134138
Philipp Burckhardt <pburckhardt@outlook.com>
135139
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
140+
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
136141
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
137142
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
138143
Pranav Goswami <pranavchiku11@gmail.com>
@@ -161,6 +166,7 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
161166
Ryan Seal <splrk@users.noreply.github.com>
162167
Rylan Yang <137365285+rylany27@users.noreply.github.com>
163168
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
169+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
164170
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
165171
Sachin Raj <120590207+schnrj@users.noreply.github.com>
166172
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
@@ -198,10 +204,12 @@ Utkarsh <http://utkarsh11105@gmail.com>
198204
Utkarsh Raj <rajutkarsh2505@gmail.com>
199205
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
200206
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
207+
Vansh Choudhary <iamvanshchaudhary7@gmail.com>
201208
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
202209
Varad Gupta <varadgupta21@gmail.com>
203210
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
204211
Vivek Maurya <vm8118134@gmail.com>
212+
Wendy Yuchen Sun <wendyyuchensun@gmail.com>
205213
Xiaochuan Ye <tap91624@gmail.com>
206214
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
207215
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>

test/test.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ var subnormal = require( './fixtures/julia/bits_1e-308_5e-324.json' );
4747

4848
tape( 'main export is a function', function test( t ) {
4949
t.ok( true, __filename );
50-
t.equal( typeof toBinaryString, 'function', 'main export is a function' );
50+
t.strictEqual( typeof toBinaryString, 'function', 'main export is a function' );
5151
t.end();
5252
});
5353

5454
tape( 'if provided `+0`, the function returns a string of all zeros', function test( t ) {
5555
var expected = repeat( '0', 64 );
56-
t.equal( toBinaryString( 0.0 ), expected, 'returns all 0s' );
56+
t.strictEqual( toBinaryString( 0.0 ), expected, 'returns all 0s' );
5757
t.end();
5858
});
5959

6060
tape( 'if provided `-0`, the function returns a string of all zeros except for the sign bit', function test( t ) {
6161
var expected = rpad( '1', 64, '0' );
62-
t.equal( toBinaryString( -0.0 ), expected, 'returns all 0s except the sign bit' );
62+
t.strictEqual( toBinaryString( -0.0 ), expected, 'returns all 0s except the sign bit' );
6363
t.end();
6464
});
6565

@@ -70,7 +70,7 @@ tape( 'if provided `+infinity`, the function returns a string where all exponent
7070
expected += repeat( '1', NUM_EXPONENT_BITS );
7171
expected += repeat( '0', NUM_SIGNIFICAND_BITS );
7272

73-
t.equal( toBinaryString( PINF ), expected, 'returns bit string for +infinity' );
73+
t.strictEqual( toBinaryString( PINF ), expected, 'returns bit string for +infinity' );
7474
t.end();
7575
});
7676

@@ -81,7 +81,7 @@ tape( 'if provided `-infinity`, the function returns a string where the sign bit
8181
expected += repeat( '1', NUM_EXPONENT_BITS );
8282
expected += repeat( '0', NUM_SIGNIFICAND_BITS );
8383

84-
t.equal( toBinaryString( NINF ), expected, 'returns bit string for -infinity' );
84+
t.strictEqual( toBinaryString( NINF ), expected, 'returns bit string for -infinity' );
8585
t.end();
8686
});
8787

@@ -96,7 +96,7 @@ tape( 'if provided `NaN`, the function returns a string where the sign bit may b
9696
actual = toBinaryString( NaN );
9797

9898
t.ok( actual[0] === '0' || actual[1] === '1', 'sign bit is either 1 or 0' );
99-
t.equal( actual.substring( 1, 12 ), exp, 'all 1s for exponent' );
99+
t.strictEqual( actual.substring( 1, 12 ), exp, 'all 1s for exponent' );
100100
t.notEqual( actual.substring( 12 ), frac, 'fraction does not equal all 0s' );
101101
t.end();
102102
});
@@ -111,7 +111,7 @@ tape( 'the function returns literal bit representations for small values', funct
111111
expected = small.expected;
112112
for ( i = 0; i < x.length; i++ ) {
113113
str = toBinaryString( x[ i ] );
114-
t.equal( str, expected[ i ], 'returns bit literal for ' + x[ i ] );
114+
t.strictEqual( str, expected[ i ], 'returns bit literal for ' + x[ i ] );
115115
}
116116
t.end();
117117
});
@@ -126,7 +126,7 @@ tape( 'the function returns literal bit representations for medium values', func
126126
expected = medium.expected;
127127
for ( i = 0; i < x.length; i++ ) {
128128
str = toBinaryString( x[ i ] );
129-
t.equal( str, expected[ i ], 'returns bit literal for ' + x[ i ] );
129+
t.strictEqual( str, expected[ i ], 'returns bit literal for ' + x[ i ] );
130130
}
131131
t.end();
132132
});
@@ -141,7 +141,7 @@ tape( 'the function returns literal bit representations for large values', funct
141141
expected = large.expected;
142142
for ( i = 0; i < x.length; i++ ) {
143143
str = toBinaryString( x[ i ] );
144-
t.equal( str, expected[ i ], 'returns bit literal for ' + x[ i ] );
144+
t.strictEqual( str, expected[ i ], 'returns bit literal for ' + x[ i ] );
145145
}
146146
t.end();
147147
});
@@ -156,7 +156,7 @@ tape( 'the function returns literal bit representations for subnormal values', f
156156
expected = subnormal.expected;
157157
for ( i = 0; i < x.length; i++ ) {
158158
str = toBinaryString( x[ i ] );
159-
t.equal( str, expected[ i ], 'returns bit literal for ' + x[ i ] );
159+
t.strictEqual( str, expected[ i ], 'returns bit literal for ' + x[ i ] );
160160
}
161161
t.end();
162162
});

0 commit comments

Comments
 (0)