Skip to content

Commit 6fcd8e8

Browse files
committed
Auto-generated commit
1 parent a4032cb commit 6fcd8e8

File tree

9 files changed

+180
-66
lines changed

9 files changed

+180
-66
lines changed

.github/.keepalive

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

.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: 15 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

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

7-
## 0.1.2 (2024-07-27)
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,67 +36,41 @@ A total of 1 person contributed to this release. Thank you to this contributor:
3636

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

39-
<section class="release" id="v0.1.1">
39+
<section class="release" id="v0.2.1">
4040

41-
## 0.1.1 (2024-02-22)
41+
## 0.2.1 (2024-07-27)
4242

4343
No changes reported for this release.
4444

4545
</section>
4646

4747
<!-- /.release -->
4848

49-
<section class="release" id="v0.2.0">
49+
<section class="release" id="v0.1.1">
5050

51-
## 0.2.0 (2024-02-14)
51+
## 0.1.1 (2024-02-22)
5252

5353
No changes reported for this release.
5454

5555
</section>
5656

5757
<!-- /.release -->
5858

59-
<section class="release" id="v0.1.0">
60-
61-
## 0.1.0 (2024-01-20)
62-
63-
<section class="features">
64-
65-
### Features
66-
67-
- [`5cd3de9`](https://github.com/stdlib-js/stdlib/commit/5cd3de9d141fefc57ccfe2e59cd96d2d0b75b0c4) - add `number/float32/base/assert/is-same-value-zero`
68-
69-
</section>
70-
71-
<!-- /.features -->
72-
73-
<section class="commits">
74-
75-
### Commits
76-
77-
<details>
59+
<section class="release" id="v0.2.0">
7860

79-
- [`442fbfc`](https://github.com/stdlib-js/stdlib/commit/442fbfc181ef5859b67bdfad43dbe998ad07783e) - **docs:** update Markdown stdlib package URLs [(#1274)](https://github.com/stdlib-js/stdlib/pull/1274) _(by stdlib-bot)_
80-
- [`78512b9`](https://github.com/stdlib-js/stdlib/commit/78512b93f38716a72ab4e65f1eca52d3ff6eea77) - **docs:** update link _(by Athan Reines)_
81-
- [`5cd3de9`](https://github.com/stdlib-js/stdlib/commit/5cd3de9d141fefc57ccfe2e59cd96d2d0b75b0c4) - **feat:** add `number/float32/base/assert/is-same-value-zero` _(by Athan Reines)_
61+
## 0.2.0 (2024-02-14)
8262

83-
</details>
63+
No changes reported for this release.
8464

8565
</section>
8666

87-
<!-- /.commits -->
88-
89-
<section class="contributors">
90-
91-
### Contributors
92-
93-
A total of 1 person contributed to this release. Thank you to this contributor:
67+
<!-- /.release -->
9468

95-
- Athan Reines
69+
<section class="release" id="v0.1.0">
9670

97-
</section>
71+
## 0.1.0 (2024-01-20)
9872

99-
<!-- /.contributors -->
73+
No changes reported for this release.
10074

10175
</section>
10276

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,6 @@ For more information on the project, filing bug reports and feature requests, an
271271

272272
---
273273

274-
## License
275-
276-
See [LICENSE][stdlib-license].
277-
278-
279274
## Copyright
280275

281276
Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
@@ -291,11 +286,11 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
291286
[npm-image]: http://img.shields.io/npm/v/@stdlib/number-float32-base-assert-is-same-value-zero.svg
292287
[npm-url]: https://npmjs.org/package/@stdlib/number-float32-base-assert-is-same-value-zero
293288

294-
[test-image]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value-zero/actions/workflows/test.yml/badge.svg?branch=v0.2.1
295-
[test-url]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value-zero/actions/workflows/test.yml?query=branch:v0.2.1
289+
[test-image]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value-zero/actions/workflows/test.yml/badge.svg?branch=main
290+
[test-url]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value-zero/actions/workflows/test.yml?query=branch:main
296291

297292
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-float32-base-assert-is-same-value-zero/main.svg
298-
[coverage-url]: https://codecov.io/github/stdlib-js/number-float32-base-assert-is-same-value-zero?branch=v0.2.1
293+
[coverage-url]: https://codecov.io/github/stdlib-js/number-float32-base-assert-is-same-value-zero?branch=main
299294

300295
<!--
301296
@@ -322,8 +317,6 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
322317
[esm-readme]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value-zero/blob/esm/README.md
323318
[branches-url]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value-zero/blob/main/branches.md
324319

325-
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/number-float32-base-assert-is-same-value-zero/main/LICENSE
326-
327320
[@stdlib/number/float32/base/assert/is-same-value]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value
328321

329322
</section>

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_is_same_value_zero`.
21-
*/
2219
#include "stdlib/number/float32/base/assert/is_same_value_zero.h"
2320
#include <stdlib.h>
2421
#include <stdio.h>
@@ -35,7 +32,7 @@
3532
/**
3633
* Prints the TAP version.
3734
*/
38-
void print_version( void ) {
35+
static void print_version( void ) {
3936
printf( "TAP version 13\n" );
4037
}
4138

@@ -45,7 +42,7 @@ void print_version( void ) {
4542
* @param total total number of tests
4643
* @param passing total number of passing tests
4744
*/
48-
void print_summary( int total, int passing ) {
45+
static void print_summary( int total, int passing ) {
4946
printf( "#\n" );
5047
printf( "1..%d\n", total ); // TAP plan
5148
printf( "# total %d\n", total );
@@ -59,7 +56,7 @@ void print_summary( int total, int passing ) {
5956
*
6057
* @param elapsed elapsed time in seconds
6158
*/
62-
void print_results( double elapsed ) {
59+
static void print_results( double elapsed ) {
6360
double rate = (double)ITERATIONS / elapsed;
6461
printf( " ---\n" );
6562
printf( " iterations: %d\n", ITERATIONS );
@@ -73,18 +70,18 @@ void print_results( double elapsed ) {
7370
*
7471
* @return clock time
7572
*/
76-
double tic( void ) {
73+
static double tic( void ) {
7774
struct timeval now;
7875
gettimeofday( &now, NULL );
7976
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
8077
}
8178

8279
/**
83-
* Generates a random number on the interval [0,1].
80+
* Generates a random number on the interval [0,1).
8481
*
8582
* @return random number
8683
*/
87-
float rand_float( void ) {
84+
static float rand_float( void ) {
8885
int r = rand();
8986
return (float)r / ( (float)RAND_MAX + 1.0f );
9087
}
@@ -94,7 +91,7 @@ float rand_float( void ) {
9491
*
9592
* @return elapsed time in seconds
9693
*/
97-
double benchmark( void ) {
94+
static double benchmark( void ) {
9895
double elapsed;
9996
double t;
10097
float x;

dist/index.js

Lines changed: 33 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native.js

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
5454
"istanbul": "^0.4.1",
5555
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
56-
"@stdlib/bench-harness": "^0.2.1"
56+
"@stdlib/bench-harness": "^0.2.2"
5757
},
5858
"engines": {
5959
"node": ">=0.10.0",

0 commit comments

Comments
 (0)