Skip to content

Commit b1b6afc

Browse files
committed
Auto-generated commit
1 parent 98a3d1b commit b1b6afc

File tree

5 files changed

+52
-2
lines changed

5 files changed

+52
-2
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-14)
7+
## Unreleased (2025-04-05)
88

99
<section class="reverts">
1010

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

2323
<details>
2424

25+
- [`3e268db`](https://github.com/stdlib-js/stdlib/commit/3e268db3108b0f330cbadcad5c20b7fec6fea355) - **test:** add tests for IEEE 754-2019 compliance [(#6556)](https://github.com/stdlib-js/stdlib/pull/6556) _(by Karan Anand)_
2526
- [`c741f19`](https://github.com/stdlib-js/stdlib/commit/c741f19410c565ec113a79a399dde2181761ad94) - **bench:** update random value generation [(#6036)](https://github.com/stdlib-js/stdlib/pull/6036) _(by Karan Anand)_
2627
- [`b0e68c5`](https://github.com/stdlib-js/stdlib/commit/b0e68c5bc8ee985794eb2ea1791c9337cd15fbd0) - **chore:** update to modern benchmark Makefile _(by Philipp Burckhardt)_
2728
- [`d8a4cfb`](https://github.com/stdlib-js/stdlib/commit/d8a4cfb578a949ed07c7a18749e48096f4f9b488) - **revert:** chore: update to modern benchmark Makefile _(by Philipp Burckhardt)_

CONTRIBUTORS

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <[email protected]>
6+
Aarya Balwadkar <[email protected]>
67
Aayush Khanna <[email protected]>
78
Abdelrahman Samir <[email protected]>
9+
Abdul Kaium <[email protected]>
810
Abhay Punia <[email protected]>
911
Abhijit Raut <[email protected]>
1012
Abhishek Jain <[email protected]>
@@ -16,6 +18,7 @@ Ahmed Khaled <[email protected]>
1618
Aksshay Balasubramanian <[email protected]>
1719
Aleksandr <[email protected]>
1820
Ali Salesi <[email protected]>
21+
AlyAbdelmoneim <[email protected]>
1922
Aman Bhansali <[email protected]>
2023
AmanBhadkariya <[email protected]>
2124
Amit Jimiwal <[email protected]>
@@ -24,6 +27,7 @@ Anshu Kumar <[email protected]>
2427
Anudeep Sanapala <[email protected]>
2528
Athan Reines <[email protected]>
2629
30+
Bhavishy Agrawal <[email protected]>
2731
Brendan Graetz <[email protected]>
2832
Bruno Fenzl <[email protected]>
2933
Bryan Elee <[email protected]>
@@ -61,6 +65,7 @@ Jaimin Godhani <[email protected]>
6165
Jaison D Souza <[email protected]>
6266
Jalaj Kumar <[email protected]>
6367
James Gelok <[email protected]>
68+
6469
Jaysukh Makvana <[email protected]>
6570
Jenish Thapa <[email protected]>
6671
Jithin KS <[email protected]>
@@ -70,14 +75,16 @@ Jordan Gallivan <[email protected]>
7075
Joris Labie <[email protected]>
7176
Justin Dennison <[email protected]>
7277
Justyn Shelby <[email protected]>
73-
Karan Anand <[email protected].com>
78+
Karan Anand <anandkarancompsci@gmail.com>
7479
Karthik Prakash <[email protected]>
7580
Kaushikgtm <[email protected]>
81+
Kavyansh-Bagdi <[email protected]>
7682
Kohantika Nath <[email protected]>
7783
Krishnam Agarwal <[email protected]>
7884
Krishnendu Das <[email protected]>
7985
Kshitij-Dale <[email protected]>
8086
Lovelin Dhoni J B <[email protected]>
87+
8188
Manik Sharma <[email protected]>
8289
Manvith M <[email protected]>
8390
Marcus Fantham <[email protected]>
@@ -88,9 +95,12 @@ Mohammad Bin Aftab <[email protected]>
8895
Mohammad Kaif <[email protected]>
8996
Momtchil Momtchev <[email protected]>
9097
Muhammad Haris <[email protected]>
98+
Muhammad Taaha Tariq <[email protected]>
99+
Muhmmad Saad <[email protected]>
91100
Naresh Jagadeesan <[email protected]>
92101
Naveen Kumar <[email protected]>
93102
Neeraj Pathak <[email protected]>
103+
NirvedMishra <[email protected]>
94104
Nishant Shinde <[email protected]>
95105
Nishchay Rajput <[email protected]>
96106
Nithin Katta <[email protected]>
@@ -99,6 +109,7 @@ Ognjen Jevremović <[email protected]>
99109
Oneday12323 <[email protected]>
100110
Ori Miles <[email protected]>
101111
Philipp Burckhardt <[email protected]>
112+
Prajjwal Bajpai <[email protected]>
102113
Prajwal Kulkarni <[email protected]>
103114
Pranav Goswami <[email protected]>
104115
Pranjal Jha <[email protected]>
@@ -107,7 +118,9 @@ Pratik Singh <[email protected]>
107118
Pratyush Kumar Chouhan <[email protected]>
108119
Priyansh Prajapati <[email protected]>
109120
Priyanshu Agarwal <[email protected]>
121+
Pulkit Gupta <[email protected]>
110122
Pushpendra Chandravanshi <[email protected]>
123+
Rahul Kumar <[email protected]>
111124
Raunak Kumar Gupta <[email protected]>
112125
Rejoan Sardar <[email protected]>
113126
Ricky Reusser <[email protected]>
@@ -116,12 +129,17 @@ Rishav <[email protected]>
116129
Rishav Tarway <[email protected]>
117130
Robert Gislason <[email protected]>
118131
Roman Stetsyk <[email protected]>
132+
119133
Rutam Kathale <[email protected]>
120134
Ruthwik Chikoti <[email protected]>
121135
Ryan Seal <[email protected]>
122136
Rylan Yang <[email protected]>
137+
SAHIL KUMAR <[email protected]>
123138
SHIVAM YADAV <[email protected]>
139+
Sahil Goyal <[email protected]>
140+
Sai Avinash <[email protected]>
124141
Sai Srikar Dumpeti <[email protected]>
142+
Sanchay Ketan Sinha <[email protected]>
125143
Sarthak Paandey <[email protected]>
126144
Saurabh Singh <[email protected]>
127145
Seyyed Parsa Neshaei <[email protected]>
@@ -157,6 +175,7 @@ Yuvi Mittal <[email protected]>
157175
158176
ekambains <[email protected]>
159177
fadiothman22 <[email protected]>
178+
lohithganni <[email protected]>
160179
olenkabilonizhka <[email protected]>
161180
pranav-1720 <[email protected]>
162181
rahulrangers <[email protected]>

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
},
5252
"devDependencies": {
5353
"@stdlib/array-base-linspace": "^0.2.2",
54+
"@stdlib/assert-is-negative-zero": "^0.2.2",
55+
"@stdlib/assert-is-positive-zero": "^0.2.2",
5456
"@stdlib/constants-float64-eps": "^0.2.2",
5557
"@stdlib/constants-float64-ninf": "^0.2.2",
5658
"@stdlib/constants-float64-pinf": "^0.2.2",

test/test.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ var PINF = require( '@stdlib/constants-float64-pinf' );
2626
var NINF = require( '@stdlib/constants-float64-ninf' );
2727
var EPS = require( '@stdlib/constants-float64-eps' );
2828
var abs = require( '@stdlib/math-base-special-abs' );
29+
var isNegativeZero = require( '@stdlib/assert-is-negative-zero' );
30+
var isPositiveZero = require( '@stdlib/assert-is-positive-zero' );
2931
var sin = require( './../lib' );
3032

3133

@@ -208,3 +210,15 @@ tape( 'the function returns `NaN` if provided `-infinity`', function test( t ) {
208210
t.equal( isnan( v ), true, 'returns expected value' );
209211
t.end();
210212
});
213+
214+
tape( 'the function returns `-0` if provided `-0`', function test( t ) {
215+
var v = sin( -0.0 );
216+
t.strictEqual( isNegativeZero( v ), true, 'returns expected value' );
217+
t.end();
218+
});
219+
220+
tape( 'the function returns `+0` if provided `+0`', function test( t ) {
221+
var v = sin( 0.0 );
222+
t.strictEqual( isPositiveZero( v ), true, 'returns expected value' );
223+
t.end();
224+
});

test/test.native.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ var PINF = require( '@stdlib/constants-float64-pinf' );
2727
var NINF = require( '@stdlib/constants-float64-ninf' );
2828
var EPS = require( '@stdlib/constants-float64-eps' );
2929
var abs = require( '@stdlib/math-base-special-abs' );
30+
var isNegativeZero = require( '@stdlib/assert-is-negative-zero' );
31+
var isPositiveZero = require( '@stdlib/assert-is-positive-zero' );
3032
var tryRequire = require( '@stdlib/utils-try-require' );
3133

3234

@@ -217,3 +219,15 @@ tape( 'the function returns `NaN` if provided `-infinity`', opts, function test(
217219
t.equal( isnan( v ), true, 'returns expected value' );
218220
t.end();
219221
});
222+
223+
tape( 'the function returns `-0` if provided `-0`', opts, function test( t ) {
224+
var v = sin( -0.0 );
225+
t.strictEqual( isNegativeZero( v ), true, 'returns expected value' );
226+
t.end();
227+
});
228+
229+
tape( 'the function returns `+0` if provided `+0`', opts, function test( t ) {
230+
var v = sin( 0.0 );
231+
t.strictEqual( isPositiveZero( v ), true, 'returns expected value' );
232+
t.end();
233+
});

0 commit comments

Comments
 (0)