Skip to content

Commit 3b42fda

Browse files
committed
Auto-generated commit
1 parent a16420f commit 3b42fda

File tree

6 files changed

+27
-132
lines changed

6 files changed

+27
-132
lines changed

.github/.keepalive

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

.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 & 118 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,32 +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-
- [`1879534`](https://github.com/stdlib-js/stdlib/commit/18795348ac0c51d3b13c1b26c0f5921ec5fd010c) - **docs:** update related packages sections [(#1179)](https://github.com/stdlib-js/stdlib/pull/1179) _(by stdlib-bot)_
105-
106-
</details>
107-
108-
</section>
109-
110-
<!-- /.commits -->
111-
112-
<section class="contributors">
113-
114-
### Contributors
115-
116-
A total of 1 person contributed to this release. Thank you to this contributor:
117-
118-
- Philipp Burckhardt
119-
120-
</section>
121-
122-
<!-- /.contributors -->
73+
No changes reported for this release.
12374

12475
</section>
12576

@@ -139,63 +90,7 @@ No changes reported for this release.
13990

14091
## 0.1.0 (2023-09-23)
14192

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

20095
</section>
20196

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
323323
[npm-image]: http://img.shields.io/npm/v/@stdlib/number-float32-base-normalize.svg
324324
[npm-url]: https://npmjs.org/package/@stdlib/number-float32-base-normalize
325325
326-
[test-image]: https://github.com/stdlib-js/number-float32-base-normalize/actions/workflows/test.yml/badge.svg?branch=v0.2.3
327-
[test-url]: https://github.com/stdlib-js/number-float32-base-normalize/actions/workflows/test.yml?query=branch:v0.2.3
326+
[test-image]: https://github.com/stdlib-js/number-float32-base-normalize/actions/workflows/test.yml/badge.svg?branch=main
327+
[test-url]: https://github.com/stdlib-js/number-float32-base-normalize/actions/workflows/test.yml?query=branch:main
328328
329329
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-float32-base-normalize/main.svg
330330
[coverage-url]: https://codecov.io/github/stdlib-js/number-float32-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 `float32_normalize`.
21-
*/
2219
#include "stdlib/number/float32/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-
float rand_float() {
83+
static float rand_float( void ) {
8784
int r = rand();
8885
return (float)r / ( (float)RAND_MAX + 1.0f );
8986
}
@@ -93,7 +90,7 @@ float rand_float() {
9390
*
9491
* @return elapsed time in seconds
9592
*/
96-
double benchmark() {
93+
static double benchmark( void ) {
9794
double elapsed;
9895
int32_t exp;
9996
float x;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@stdlib/constants-float32-smallest-normal": "^0.2.2",
4646
"@stdlib/math-base-assert-is-infinitef": "^0.2.2",
4747
"@stdlib/math-base-assert-is-nanf": "^0.2.2",
48-
"@stdlib/math-base-special-absf": "^0.2.1",
48+
"@stdlib/math-base-special-absf": "^0.2.2",
4949
"@stdlib/number-float64-base-to-float32": "^0.2.2",
5050
"@stdlib/types": "^0.3.2",
5151
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2",
@@ -57,7 +57,7 @@
5757
"@stdlib/assert-is-array": "^0.2.2",
5858
"@stdlib/assert-is-float32array": "^0.2.2",
5959
"@stdlib/constants-float32-smallest-subnormal": "^0.2.2",
60-
"@stdlib/math-base-special-pow": "^0.2.1",
60+
"@stdlib/math-base-special-pow": "^0.3.0",
6161
"@stdlib/math-base-special-round": "^0.3.0",
6262
"@stdlib/random-base-randu": "^0.2.1",
6363
"@stdlib/utils-try-require": "^0.2.2",

0 commit comments

Comments
 (0)