Skip to content

Commit a6a2e6b

Browse files
committed
Auto-generated commit
1 parent 81b8bf7 commit a6a2e6b

13 files changed

Lines changed: 103 additions & 23 deletions

File tree

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ indent_style = tab
8686
[*.{f,f.txt}]
8787
indent_style = space
8888
indent_size = 2
89-
insert_final_newline = false
9089

9190
# Set properties for shell files:
9291
[*.{sh,sh.txt}]

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/assert/is-nonnegative-finite) of the main repository where we’ll review and provide feedback.
44

5-
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib.
5+
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
66

77
We look forward to receiving your contribution! :smiley:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,7 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191+
192+
# Cursor #
193+
##########
194+
.cursorignore

CHANGELOG.md

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

7-
## Unreleased (2024-12-27)
7+
## Unreleased (2025-04-14)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`2b6d616`](https://github.com/stdlib-js/stdlib/commit/2b6d61659b1436a6a3c18308e2c56a01e2be89ed) - **bench:** update random value generation [(#6683)](https://github.com/stdlib-js/stdlib/pull/6683) _(by Harsh)_
1516
- [`a69e423`](https://github.com/stdlib-js/stdlib/commit/a69e423dc4990692cdf4ce6648544ba30594d7cb) - **docs:** update related packages sections [(#4265)](https://github.com/stdlib-js/stdlib/pull/4265) _(by stdlib-bot, Philipp Burckhardt)_
1617
- [`f13ddb2`](https://github.com/stdlib-js/stdlib/commit/f13ddb2eb01e5520b6fa98634bbf9de76793036f) - **style:** use spaces for alignment in C comments _(by Philipp Burckhardt)_
1718
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
@@ -26,9 +27,10 @@
2627

2728
### Contributors
2829

29-
A total of 2 people contributed to this release. Thank you to the following contributors:
30+
A total of 3 people contributed to this release. Thank you to the following contributors:
3031

3132
- Athan Reines
33+
- Harsh
3234
- Philipp Burckhardt
3335

3436
</section>

CONTRIBUTORS

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,31 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <jain.aadishj@gmail.com>
6+
Aarya Balwadkar <142713127+AaryaBalwadkar@users.noreply.github.com>
67
Aayush Khanna <aayushiitbhu23@gmail.com>
8+
Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
9+
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
10+
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
711
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
813
Adarsh Palaskar <adarshpalaskar99@gmail.com>
914
Aditya Sapra <adityaework@gmail.com>
1015
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1116
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1217
Ahmed Khaled <kahmd1444@gmail.com>
18+
Aksshay Balasubramanian <119944779+Aksshay88@users.noreply.github.com>
1319
Aleksandr <112382387+alextes90@users.noreply.github.com>
1420
Ali Salesi <ali_sal1381@yahoo.com>
21+
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
1522
Aman Bhansali <bhansali.1@iitj.ac.in>
23+
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
1624
Amit Jimiwal <amitjimiwal45@gmail.com>
25+
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
26+
Anshu Kumar <contact.anshukumar@protonmail.com>
1727
Anudeep Sanapala <anudeep0306@gmail.com>
1828
Athan Reines <kgryte@gmail.com>
1929
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
30+
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
2031
Brendan Graetz <bguiz@users.noreply.github.com>
2132
Bruno Fenzl <brunofenzl@gmail.com>
2233
Bryan Elee <rxbryn@gmail.com>
@@ -26,21 +37,36 @@ Dan Rose <danoftheroses@gmail.com>
2637
Daniel Killenberger <daniel.killenberger@gmail.com>
2738
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2839
Debashis Maharana <debashismaharana7854@gmail.com>
40+
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
2941
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
42+
Dev Goel <135586571+corsairier@users.noreply.github.com>
43+
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
44+
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
45+
Dhruvil Mehta <68022411+dhruvilmehta@users.noreply.github.com>
46+
Dipjyoti Das <126075231+dipexplorer@users.noreply.github.com>
3047
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
3148
Dominic Lim <46486515+domlimm@users.noreply.github.com>
3249
Dominik Moritz <domoritz@gmail.com>
3350
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
3451
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
3552
Frank Kovacs <fran70kk@gmail.com>
53+
GK Bishnoi <gkishan1kyt@gmail.com>
54+
Gaurav <gaurav70380@gmail.com>
55+
Gautam sharma <gautamkrishnasharma1@gmail.com>
3656
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
3757
Gunj Joshi <gunjjoshi8372@gmail.com>
38-
Gururaj Gurram <143020143+gururaj1512@users.noreply.github.com>
58+
Gururaj Gurram <gururajgurram1512@gmail.com>
59+
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
60+
Harsh <149176984+hrshya@users.noreply.github.com>
3961
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
4062
Harshita Kalani <harshitakalani02@gmail.com>
63+
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
4164
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
4265
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
66+
Jaison D Souza <123267719+jsndz@users.noreply.github.com>
67+
Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com>
4368
James Gelok <jdgelok@gmail.com>
69+
Jay Soni <jaygsoni14@gmail.com>
4470
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
4571
Jenish Thapa <141203631+jenish-thapa@users.noreply.github.com>
4672
Jithin KS <jithinks112@gmail.com>
@@ -49,54 +75,80 @@ Joey Reed <joeyrreed@gmail.com>
4975
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
5076
Joris Labie <joris.labie1@gmail.com>
5177
Justin Dennison <justin1dennison@gmail.com>
78+
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
79+
Karan Anand <anandkarancompsci@gmail.com>
80+
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
5281
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
82+
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
83+
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
5384
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
85+
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
5486
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
5587
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
5688
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
89+
MANI <77221000+Eternity0207@users.noreply.github.com>
90+
Mahfuza Humayra Mohona <mhmohona@gmail.com>
5791
Manik Sharma <maniksharma.rke@gmail.com>
5892
Manvith M <148960168+manvith2003@users.noreply.github.com>
5993
Marcus Fantham <mfantham@users.noreply.github.com>
6094
Matt Cochrane <matthew.cochrane.eng@gmail.com>
6195
Mihir Pandit <129577900+MSP20086@users.noreply.github.com>
6296
Milan Raj <rajsite@users.noreply.github.com>
97+
Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
6398
Mohammad Kaif <mdkaifprofession@gmail.com>
6499
Momtchil Momtchev <momtchil@momtchev.com>
65100
Muhammad Haris <harriskhan047@outlook.com>
101+
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
102+
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
66103
Naresh Jagadeesan <naresh.naresh000@gmail.com>
67104
Naveen Kumar <stupiddint@gmail.com>
68105
Neeraj Pathak <neerajrpathak710@gmail.com>
106+
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
69107
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
108+
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
70109
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
71110
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
72111
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
73112
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
74113
Ori Miles <97595296+orimiles5@users.noreply.github.com>
75114
Philipp Burckhardt <pburckhardt@outlook.com>
115+
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
76116
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
77-
Pranav Goswami <goswami.4@iitj.ac.in>
117+
Pranav Goswami <pranavchiku11@gmail.com>
78118
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
79119
Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
120+
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
80121
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
81122
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
123+
Pravesh Kunwar <praveshkunwar04@gmail.com>
82124
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
83125
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
126+
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>
84127
Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
128+
Rahul Kumar <132570066+rahulptl165@users.noreply.github.com>
85129
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
86130
Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com>
87131
Ricky Reusser <rsreusser@gmail.com>
88132
Ridam Garg <67867319+RidamGarg@users.noreply.github.com>
89133
Rishav <115060907+rishav2404@users.noreply.github.com>
134+
Rishav Tarway <rishavtarway@gmail.com>
90135
Robert Gislason <gztown2216@yahoo.com>
91136
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
137+
Rupa <102663541+Rupa-Rd@users.noreply.github.com>
92138
Rutam Kathale <138517416+performant23@users.noreply.github.com>
93139
Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
94140
Ryan Seal <splrk@users.noreply.github.com>
95141
Rylan Yang <137365285+rylany27@users.noreply.github.com>
142+
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
143+
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
144+
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
145+
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
96146
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
147+
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
97148
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
98149
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
99150
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
151+
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
100152
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
101153
Shivam Ahir <11shivam00@gmail.com>
102154
Shraddheya Shendre <shendreshraddheya@gmail.com>
@@ -107,7 +159,9 @@ Snehil Shah <snehilshah.989@gmail.com>
107159
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
108160
Spandan Barve <contact@marsian.dev>
109161
Stephannie Jiménez Gacha <steff456@hotmail.com>
162+
Suhaib Ilahi <suhaib.elahi87@gmail.com>
110163
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
164+
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
111165
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
112166
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
113167
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
@@ -117,10 +171,18 @@ UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
117171
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
118172
Varad Gupta <varadgupta21@gmail.com>
119173
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
120-
Vivek maurya <155618190+vivekmaurya001@users.noreply.github.com>
174+
Vivek Maurya <vm8118134@gmail.com>
121175
Xiaochuan Ye <tap91624@gmail.com>
122176
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
123177
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
178+
Yugal Kaushik <yugalkaushik14@gmail.com>
179+
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
180+
ditsu <170345142+ditsus@users.noreply.github.com>
181+
ekambains <bainsinbusiness@gmail.com>
182+
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
183+
lohithganni <116790357+lohithganni@users.noreply.github.com>
124184
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
185+
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
186+
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
125187
rainn <88160429+AmCodesLame@users.noreply.github.com>
126188
rei2hu <reimu@reimu.ws>

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Copyright (c) 2016-2024 The Stdlib Authors.
1+
Copyright (c) 2016-2025 The Stdlib Authors.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ See [LICENSE][stdlib-license].
250250

251251
## Copyright
252252

253-
Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
253+
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
254254

255255
</section>
256256

benchmark/benchmark.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var bench = require( '@stdlib/bench-harness' );
24-
var randu = require( '@stdlib/random-base-randu' );
24+
var uniform = require( '@stdlib/random-array-uniform' );
2525
var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive;
2626
var pkg = require( './../package.json' ).name;
2727
var isNonNegativeFinite = require( './../lib' );
@@ -30,14 +30,19 @@ var isNonNegativeFinite = require( './../lib' );
3030
// MAIN //
3131

3232
bench( pkg, function benchmark( b ) {
33+
var opts;
3334
var x;
3435
var y;
3536
var i;
3637

38+
opts = {
39+
'dtype': 'float64'
40+
};
41+
x = uniform( 100, -100.0, 100.0, opts );
42+
3743
b.tic();
3844
for ( i = 0; i < b.iterations; i++ ) {
39-
x = (randu()*200.0) - 100.0;
40-
y = isNonNegativeFinite( x );
45+
y = isNonNegativeFinite( x[ i%x.length ] );
4146
if ( typeof y !== 'boolean' ) {
4247
b.fail( 'should return a boolean' );
4348
}

benchmark/benchmark.native.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var resolve = require( 'path' ).resolve;
2424
var bench = require( '@stdlib/bench-harness' );
25-
var randu = require( '@stdlib/random-base-randu' );
25+
var uniform = require( '@stdlib/random-array-uniform' );
2626
var isBoolean = require( '@stdlib/assert-is-boolean' ).isPrimitive;
2727
var tryRequire = require( '@stdlib/utils-try-require' );
2828
var pkg = require( './../package.json' ).name;
@@ -39,14 +39,19 @@ var opts = {
3939
// MAIN //
4040

4141
bench( pkg+'::native', opts, function benchmark( b ) {
42+
var opts;
4243
var x;
4344
var y;
4445
var i;
4546

47+
opts = {
48+
'dtype': 'float64'
49+
};
50+
x = uniform( 100, -100.0, 100.0, opts );
51+
4652
b.tic();
4753
for ( i = 0; i < b.iterations; i++ ) {
48-
x = ( randu()*200.0 ) - 100.0;
49-
y = isNonNegativeFinite( x );
54+
y = isNonNegativeFinite( x[ i%x.length ] );
5055
if ( typeof y !== 'boolean' ) {
5156
b.fail( 'should return a boolean' );
5257
}

benchmark/c/native/benchmark.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,18 @@ static double rand_double( void ) {
9292
*/
9393
static double benchmark( void ) {
9494
double elapsed;
95-
double x;
95+
double x[ 100 ];
9696
double t;
9797
bool b;
9898
int i;
9999

100+
for ( i = 0; i < 100; i++ ) {
101+
x[ i ] = ( rand_double() * 200.0 ) - 100.0;
102+
}
103+
100104
t = tic();
101105
for ( i = 0; i < ITERATIONS; i++ ) {
102-
x = ( rand_double() * 200.0 ) - 100.0;
103-
b = stdlib_base_is_nonnegative_finite( x );
106+
b = stdlib_base_is_nonnegative_finite( x[ i%100 ] );
104107
if ( b != true && b != false ) {
105108
printf( "should return either true or false\n" );
106109
break;

0 commit comments

Comments
 (0)