Skip to content

Commit 8c7a0ab

Browse files
committed
Auto-generated commit
1 parent 24542cf commit 8c7a0ab

8 files changed

Lines changed: 167 additions & 47 deletions

File tree

.github/workflows/productionize.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ jobs:
9494
node -e "var pkg = require( './package.json' ); pkg.dependencies[ '@stdlib/error-tools-fmtprodmsg' ] = '^$PKG_VERSION'; require( 'fs' ).writeFileSync( 'package.json', JSON.stringify( pkg, null, 2 ) );"
9595
fi
9696
97-
# Configure git:
98-
- name: 'Configure git'
97+
# Configure Git:
98+
- name: 'Configure Git'
9999
run: |
100100
git config --local user.email "noreply@stdlib.io"
101101
git config --local user.name "stdlib-bot"
@@ -191,8 +191,8 @@ jobs:
191191
# Pin action to full length commit SHA
192192
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
193193

194-
# Configure git:
195-
- name: 'Configure git'
194+
# Configure Git:
195+
- name: 'Configure Git'
196196
run: |
197197
git config --local user.email "noreply@stdlib.io"
198198
git config --local user.name "stdlib-bot"
@@ -366,8 +366,8 @@ jobs:
366366
# Pin action to full length commit SHA
367367
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
368368

369-
# Configure git:
370-
- name: 'Configure git'
369+
# Configure Git:
370+
- name: 'Configure Git'
371371
run: |
372372
git config --local user.email "noreply@stdlib.io"
373373
git config --local user.name "stdlib-bot"
@@ -539,8 +539,8 @@ jobs:
539539
# Pin action to full length commit SHA
540540
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
541541

542-
# Configure git:
543-
- name: 'Configure git'
542+
# Configure Git:
543+
- name: 'Configure Git'
544544
run: |
545545
git config --local user.email "noreply@stdlib.io"
546546
git config --local user.name "stdlib-bot"
@@ -735,8 +735,8 @@ jobs:
735735
echo "bump=true" >> $GITHUB_OUTPUT
736736
fi
737737
738-
# Configure git:
739-
- name: 'Configure git'
738+
# Configure Git:
739+
- name: 'Configure Git'
740740
if: steps.check-if-bump.outputs.bump
741741
run: |
742742
git config --local user.email "noreply@stdlib.io"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
node-version: 20
7373
timeout-minutes: 5
7474

75-
# Configure git:
76-
- name: 'Configure git'
75+
# Configure Git:
76+
- name: 'Configure Git'
7777
run: |
7878
git config --local user.email "noreply@stdlib.io"
7979
git config --local user.name "stdlib-bot"
@@ -206,7 +206,7 @@ jobs:
206206
# Publish package to npm:
207207
- name: 'Publish package to npm'
208208
# Pin action to full length commit SHA
209-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
209+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
210210
with:
211211
token: ${{ secrets.NPM_TOKEN }}
212212
access: public

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ shrinkwrap = false
2727
# Disable automatically "saving" dependencies on install:
2828
save = false
2929

30-
# Generate provenance metadata:
31-
provenance = true
30+
# Do not generate provenance metadata:
31+
provenance = false

CHANGELOG.md

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

7-
## Unreleased (2024-07-18)
7+
## Unreleased (2024-07-28)
88

99
<section class="bug-fixes">
1010

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

2323
<details>
2424

25+
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
2526
- [`e3a3679`](https://github.com/stdlib-js/stdlib/commit/e3a3679f1e733cf02ce47cdc4bd0137bd37bef41) - **refactor:** update paths _(by Athan Reines)_
2627
- [`0406147`](https://github.com/stdlib-js/stdlib/commit/04061476d1036e1b8b786736b1ba1653eddff1ef) - **refactor:** update paths _(by Athan Reines)_
2728
- [`32bbcb3`](https://github.com/stdlib-js/stdlib/commit/32bbcb3b3dae1f028fd18166ee7875a93d44d0ee) - **refactor:** update paths _(by Athan Reines)_
@@ -57,6 +58,53 @@ A total of 1 person contributed to this release. Thank you to this contributor:
5758

5859
## 0.2.1 (2024-02-24)
5960

61+
No changes reported for this release.
62+
63+
</section>
64+
65+
<!-- /.release -->
66+
67+
<section class="release" id="v0.2.0">
68+
69+
## 0.2.0 (2024-02-14)
70+
71+
<section class="commits">
72+
73+
### Commits
74+
75+
<details>
76+
77+
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
78+
- [`37c6c77`](https://github.com/stdlib-js/stdlib/commit/37c6c77ce78430486c95f3034dd1c836fac8b65d) - **style:** resolve C lint errors _(by Athan Reines)_
79+
- [`7eb7d96`](https://github.com/stdlib-js/stdlib/commit/7eb7d96f3860d0b1229b905caceb1b6641ee43c5) - **docs:** update links _(by Athan Reines)_
80+
81+
</details>
82+
83+
</section>
84+
85+
<!-- /.commits -->
86+
87+
<section class="contributors">
88+
89+
### Contributors
90+
91+
A total of 2 people contributed to this release. Thank you to the following contributors:
92+
93+
- Athan Reines
94+
- Philipp Burckhardt
95+
96+
</section>
97+
98+
<!-- /.contributors -->
99+
100+
</section>
101+
102+
<!-- /.release -->
103+
104+
<section class="release" id="v0.1.0">
105+
106+
## 0.1.0 (2023-09-24)
107+
60108
<section class="features">
61109

62110
### Features
@@ -96,9 +144,6 @@ A total of 1 person contributed to this release. Thank you to this contributor:
96144

97145
<details>
98146

99-
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
100-
- [`37c6c77`](https://github.com/stdlib-js/stdlib/commit/37c6c77ce78430486c95f3034dd1c836fac8b65d) - **style:** resolve C lint errors _(by Athan Reines)_
101-
- [`7eb7d96`](https://github.com/stdlib-js/stdlib/commit/7eb7d96f3860d0b1229b905caceb1b6641ee43c5) - **docs:** update links _(by Athan Reines)_
102147
- [`58832ee`](https://github.com/stdlib-js/stdlib/commit/58832eef6d93e6519622148242600eae93dca4d9) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
103148
- [`32a2827`](https://github.com/stdlib-js/stdlib/commit/32a282799ffd272d2a0554e81755a14923564e51) - **fix:** update import paths for complex type defs _(by Athan Reines)_
104149
- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_
@@ -126,3 +171,83 @@ A total of 2 people contributed to this release. Thank you to the following cont
126171

127172
<!-- /.release -->
128173

174+
<section class="release" id="v0.0.8">
175+
176+
## 0.0.8 (2022-11-06)
177+
178+
No changes reported for this release.
179+
180+
</section>
181+
182+
<!-- /.release -->
183+
184+
<section class="release" id="v0.0.7">
185+
186+
## 0.0.7 (2022-02-16)
187+
188+
No changes reported for this release.
189+
190+
</section>
191+
192+
<!-- /.release -->
193+
194+
<section class="release" id="v0.0.6">
195+
196+
## 0.0.6 (2021-08-22)
197+
198+
No changes reported for this release.
199+
200+
</section>
201+
202+
<!-- /.release -->
203+
204+
<section class="release" id="v0.0.5">
205+
206+
## 0.0.5 (2021-07-06)
207+
208+
No changes reported for this release.
209+
210+
</section>
211+
212+
<!-- /.release -->
213+
214+
<section class="release" id="v0.0.4">
215+
216+
## 0.0.4 (2021-06-27)
217+
218+
No changes reported for this release.
219+
220+
</section>
221+
222+
<!-- /.release -->
223+
224+
<section class="release" id="v0.0.3">
225+
226+
## 0.0.3 (2021-06-16)
227+
228+
No changes reported for this release.
229+
230+
</section>
231+
232+
<!-- /.release -->
233+
234+
<section class="release" id="v0.0.2">
235+
236+
## 0.0.2 (2021-06-15)
237+
238+
No changes reported for this release.
239+
240+
</section>
241+
242+
<!-- /.release -->
243+
244+
<section class="release" id="v0.0.1">
245+
246+
## 0.0.1 (2021-06-14)
247+
248+
No changes reported for this release.
249+
250+
</section>
251+
252+
<!-- /.release -->
253+

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Muhammad Haris <harriskhan047@outlook.com>
5151
Naresh Jagadeesan <naresh.naresh000@gmail.com>
5252
NightKnight <Ahmedatwa866@yahoo.com>
5353
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
54+
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
5455
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
5556
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
5657
Philipp Burckhardt <pburckhardt@outlook.com>

benchmark/c/benchmark.c

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Benchmark `csub`.
21-
*/
2219
#include <stdlib.h>
2320
#include <stdio.h>
2421
#include <math.h>
@@ -32,7 +29,7 @@
3229
/**
3330
* Prints the TAP version.
3431
*/
35-
void print_version() {
32+
static void print_version( void ) {
3633
printf( "TAP version 13\n" );
3734
}
3835

@@ -42,7 +39,7 @@ void print_version() {
4239
* @param total total number of tests
4340
* @param passing total number of passing tests
4441
*/
45-
void print_summary( int total, int passing ) {
42+
static void print_summary( int total, int passing ) {
4643
printf( "#\n" );
4744
printf( "1..%d\n", total ); // TAP plan
4845
printf( "# total %d\n", total );
@@ -56,7 +53,7 @@ void print_summary( int total, int passing ) {
5653
*
5754
* @param elapsed elapsed time in seconds
5855
*/
59-
void print_results( double elapsed ) {
56+
static void print_results( double elapsed ) {
6057
double rate = (double)ITERATIONS / elapsed;
6158
printf( " ---\n" );
6259
printf( " iterations: %d\n", ITERATIONS );
@@ -70,18 +67,18 @@ void print_results( double elapsed ) {
7067
*
7168
* @return clock time
7269
*/
73-
double tic() {
70+
static double tic( void ) {
7471
struct timeval now;
7572
gettimeofday( &now, NULL );
7673
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7774
}
7875

7976
/**
80-
* Generates a random number on the interval [0,1].
77+
* Generates a random number on the interval [0,1).
8178
*
8279
* @return random number
8380
*/
84-
double rand_double() {
81+
static double rand_double( void ) {
8582
int r = rand();
8683
return (double)r / ( (double)RAND_MAX + 1.0 );
8784
}
@@ -91,7 +88,7 @@ double rand_double() {
9188
*
9289
* @return elapsed time in seconds
9390
*/
94-
double benchmark() {
91+
static double benchmark( void ) {
9592
double elapsed;
9693
double re;
9794
double im;

benchmark/c/native/benchmark.c

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Benchmark `csub`.
21-
*/
2219
#include "stdlib/math/base/ops/csub.h"
2320
#include "stdlib/complex/float64/ctor.h"
2421
#include "stdlib/complex/float64/reim.h"
@@ -36,7 +33,7 @@
3633
/**
3734
* Prints the TAP version.
3835
*/
39-
void print_version() {
36+
static void print_version( void ) {
4037
printf( "TAP version 13\n" );
4138
}
4239

@@ -46,7 +43,7 @@ void print_version() {
4643
* @param total total number of tests
4744
* @param passing total number of passing tests
4845
*/
49-
void print_summary( int total, int passing ) {
46+
static void print_summary( int total, int passing ) {
5047
printf( "#\n" );
5148
printf( "1..%d\n", total ); // TAP plan
5249
printf( "# total %d\n", total );
@@ -60,7 +57,7 @@ void print_summary( int total, int passing ) {
6057
*
6158
* @param elapsed elapsed time in seconds
6259
*/
63-
void print_results( double elapsed ) {
60+
static void print_results( double elapsed ) {
6461
double rate = (double)ITERATIONS / elapsed;
6562
printf( " ---\n" );
6663
printf( " iterations: %d\n", ITERATIONS );
@@ -74,18 +71,18 @@ void print_results( double elapsed ) {
7471
*
7572
* @return clock time
7673
*/
77-
double tic() {
74+
static double tic( void ) {
7875
struct timeval now;
7976
gettimeofday( &now, NULL );
8077
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
8178
}
8279

8380
/**
84-
* Generates a random number on the interval [0,1].
81+
* Generates a random number on the interval [0,1).
8582
*
8683
* @return random number
8784
*/
88-
double rand_double() {
85+
static double rand_double( void ) {
8986
int r = rand();
9087
return (double)r / ( (double)RAND_MAX + 1.0 );
9188
}
@@ -95,7 +92,7 @@ double rand_double() {
9592
*
9693
* @return elapsed time in seconds
9794
*/
98-
double benchmark() {
95+
static double benchmark( void ) {
9996
double elapsed;
10097
double re;
10198
double im;

0 commit comments

Comments
 (0)