Skip to content

Commit cbb2300

Browse files
committed
Auto-generated commit
1 parent 2a7e749 commit cbb2300

File tree

6 files changed

+27
-133
lines changed

6 files changed

+27
-133
lines changed

.github/.keepalive

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-08-01T04:01:14.805Z

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ docs/**/node_modules/
101101
pids
102102
*.pid
103103
*.seed
104+
yarn.lock
105+
package-lock.json
104106

105107
# Typescript #
106108
##############

CHANGELOG.md

Lines changed: 13 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
> Package changelog.
44
5-
<section class="release" id="v0.2.3">
5+
<section class="release" id="unreleased">
66

7-
## 0.2.3 (2024-07-28)
7+
## Unreleased (2024-08-01)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15-
- [`d04dcbd`](https://github.com/stdlib-js/stdlib/commit/d04dcbd6dc3b0bf4a89bd3947d317fa5ff15bb38) - **docs:** remove private annotations in C comments _(by Philipp Burckhardt)_
15+
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
1616

1717
</details>
1818

@@ -26,7 +26,7 @@
2626

2727
A total of 1 person contributed to this release. Thank you to this contributor:
2828

29-
- Philipp Burckhardt
29+
- Athan Reines
3030

3131
</section>
3232

@@ -36,45 +36,21 @@ A total of 1 person contributed to this release. Thank you to this contributor:
3636

3737
<!-- /.release -->
3838

39-
<section class="release" id="v0.2.2">
40-
41-
## 0.2.2 (2024-04-04)
42-
43-
<section class="bug-fixes">
44-
45-
### Bug Fixes
46-
47-
- [`ca6614a`](https://github.com/stdlib-js/stdlib/commit/ca6614abe2ae5acdcfd6eccaf49a65215f60d99e) - add missing gypfile field entries
48-
49-
</section>
50-
51-
<!-- /.bug-fixes -->
52-
53-
<section class="commits">
54-
55-
### Commits
56-
57-
<details>
39+
<section class="release" id="v0.2.3">
5840

59-
- [`ca6614a`](https://github.com/stdlib-js/stdlib/commit/ca6614abe2ae5acdcfd6eccaf49a65215f60d99e) - **fix:** add missing gypfile field entries _(by Philipp Burckhardt)_
41+
## 0.2.3 (2024-07-28)
6042

61-
</details>
43+
No changes reported for this release.
6244

6345
</section>
6446

65-
<!-- /.commits -->
66-
67-
<section class="contributors">
68-
69-
### Contributors
70-
71-
A total of 1 person contributed to this release. Thank you to this contributor:
47+
<!-- /.release -->
7248

73-
- Philipp Burckhardt
49+
<section class="release" id="v0.2.2">
7450

75-
</section>
51+
## 0.2.2 (2024-04-04)
7652

77-
<!-- /.contributors -->
53+
No changes reported for this release.
7854

7955
</section>
8056

@@ -94,33 +70,7 @@ No changes reported for this release.
9470

9571
## 0.2.0 (2024-02-14)
9672

97-
<section class="commits">
98-
99-
### Commits
100-
101-
<details>
102-
103-
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
104-
- [`e9778a4`](https://github.com/stdlib-js/stdlib/commit/e9778a44456fe95e30158b3ed4b2849c1ea5be1d) - **build:** do not escape special Markdown characters in code _(by Philipp Burckhardt)_
105-
- [`78a556e`](https://github.com/stdlib-js/stdlib/commit/78a556efa2f1da29eb9081d393f5768ad1518117) - **docs:** update related packages sections [(#1145)](https://github.com/stdlib-js/stdlib/pull/1145) _(by stdlib-bot)_
106-
107-
</details>
108-
109-
</section>
110-
111-
<!-- /.commits -->
112-
113-
<section class="contributors">
114-
115-
### Contributors
116-
117-
A total of 1 person contributed to this release. Thank you to this contributor:
118-
119-
- Philipp Burckhardt
120-
121-
</section>
122-
123-
<!-- /.contributors -->
73+
No changes reported for this release.
12474

12575
</section>
12676

@@ -140,63 +90,7 @@ No changes reported for this release.
14090

14191
## 0.1.0 (2023-09-23)
14292

143-
<section class="features">
144-
145-
### Features
146-
147-
- [`1e1b4b1`](https://github.com/stdlib-js/stdlib/commit/1e1b4b1fc32e06734099e2e00e0478f547d7fc68) - refactor declarations to use generics
148-
149-
</section>
150-
151-
<!-- /.features -->
152-
153-
<section class="bug-fixes">
154-
155-
### Bug Fixes
156-
157-
- [`92caf33`](https://github.com/stdlib-js/stdlib/commit/92caf33737034f6a06ca338ffba5b0095863ab0e) - update import path for `Collection` type definition
158-
159-
</section>
160-
161-
<!-- /.bug-fixes -->
162-
163-
<section class="breaking-changes">
164-
165-
### BREAKING CHANGES
166-
167-
- [`1e1b4b1`](https://github.com/stdlib-js/stdlib/commit/1e1b4b1fc32e06734099e2e00e0478f547d7fc68): refactor declarations to use generics
168-
169-
</section>
170-
171-
<!-- /.breaking-changes -->
172-
173-
<section class="commits">
174-
175-
### Commits
176-
177-
<details>
178-
179-
- [`92caf33`](https://github.com/stdlib-js/stdlib/commit/92caf33737034f6a06ca338ffba5b0095863ab0e) - **fix:** update import path for `Collection` type definition _(by Athan Reines)_
180-
- [`1e1b4b1`](https://github.com/stdlib-js/stdlib/commit/1e1b4b1fc32e06734099e2e00e0478f547d7fc68) - **feat:** refactor declarations to use generics _(by Athan Reines)_
181-
- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_
182-
183-
</details>
184-
185-
</section>
186-
187-
<!-- /.commits -->
188-
189-
<section class="contributors">
190-
191-
### Contributors
192-
193-
A total of 1 person contributed to this release. Thank you to this contributor:
194-
195-
- Athan Reines
196-
197-
</section>
198-
199-
<!-- /.contributors -->
93+
No changes reported for this release.
20094

20195
</section>
20296

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
310310
[npm-image]: http://img.shields.io/npm/v/@stdlib/number-float64-base-normalize.svg
311311
[npm-url]: https://npmjs.org/package/@stdlib/number-float64-base-normalize
312312
313-
[test-image]: https://github.com/stdlib-js/number-float64-base-normalize/actions/workflows/test.yml/badge.svg?branch=v0.2.3
314-
[test-url]: https://github.com/stdlib-js/number-float64-base-normalize/actions/workflows/test.yml?query=branch:v0.2.3
313+
[test-image]: https://github.com/stdlib-js/number-float64-base-normalize/actions/workflows/test.yml/badge.svg?branch=main
314+
[test-url]: https://github.com/stdlib-js/number-float64-base-normalize/actions/workflows/test.yml?query=branch:main
315315
316316
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-float64-base-normalize/main.svg
317317
[coverage-url]: https://codecov.io/github/stdlib-js/number-float64-base-normalize?branch=main

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 `flaot64_normalize`.
21-
*/
2219
#include "stdlib/number/float64/base/normalize.h"
2320
#include <stdlib.h>
2421
#include <stdio.h>
@@ -34,7 +31,7 @@
3431
/**
3532
* Prints the TAP version.
3633
*/
37-
void print_version() {
34+
static void print_version( void ) {
3835
printf( "TAP version 13\n" );
3936
}
4037

@@ -44,7 +41,7 @@ void print_version() {
4441
* @param total total number of tests
4542
* @param passing total number of passing tests
4643
*/
47-
void print_summary( int total, int passing ) {
44+
static void print_summary( int total, int passing ) {
4845
printf( "#\n" );
4946
printf( "1..%d\n", total ); // TAP plan
5047
printf( "# total %d\n", total );
@@ -58,7 +55,7 @@ void print_summary( int total, int passing ) {
5855
*
5956
* @param elapsed elapsed time in seconds
6057
*/
61-
void print_results( double elapsed ) {
58+
static void print_results( double elapsed ) {
6259
double rate = (double)ITERATIONS / elapsed;
6360
printf( " ---\n" );
6461
printf( " iterations: %d\n", ITERATIONS );
@@ -72,18 +69,18 @@ void print_results( double elapsed ) {
7269
*
7370
* @return clock time
7471
*/
75-
double tic() {
72+
static double tic( void ) {
7673
struct timeval now;
7774
gettimeofday( &now, NULL );
7875
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
7976
}
8077

8178
/**
82-
* Generates a random number on the interval [0,1].
79+
* Generates a random number on the interval [0,1).
8380
*
8481
* @return random number
8582
*/
86-
double rand_double() {
83+
static double rand_double( void ) {
8784
int r = rand();
8885
return (double)r / ( (double)RAND_MAX + 1.0 );
8986
}
@@ -93,7 +90,7 @@ double rand_double() {
9390
*
9491
* @return elapsed time in seconds
9592
*/
96-
double benchmark() {
93+
static double benchmark( void ) {
9794
double elapsed;
9895
int32_t exp;
9996
double x;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@stdlib/constants-float64-smallest-normal": "^0.2.2",
4444
"@stdlib/math-base-assert-is-infinite": "^0.2.2",
4545
"@stdlib/math-base-assert-is-nan": "^0.2.2",
46-
"@stdlib/math-base-special-abs": "^0.2.1",
46+
"@stdlib/math-base-special-abs": "^0.2.2",
4747
"@stdlib/types": "^0.3.2",
4848
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2",
4949
"@stdlib/utils-library-manifest": "^0.2.2"
@@ -56,7 +56,7 @@
5656
"@stdlib/constants-float64-ninf": "^0.2.2",
5757
"@stdlib/constants-float64-pinf": "^0.2.2",
5858
"@stdlib/constants-float64-smallest-subnormal": "^0.2.2",
59-
"@stdlib/math-base-special-pow": "^0.2.1",
59+
"@stdlib/math-base-special-pow": "^0.3.0",
6060
"@stdlib/random-base-discrete-uniform": "^0.2.1",
6161
"@stdlib/random-base-randu": "^0.2.1",
6262
"@stdlib/random-base-uniform": "^0.2.1",

0 commit comments

Comments
 (0)