Skip to content

Commit 3d101e4

Browse files
committed
Auto-generated commit
1 parent 014f25b commit 3d101e4

File tree

6 files changed

+34
-100
lines changed

6 files changed

+34
-100
lines changed

.github/.keepalive

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

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

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

7-
## 0.2.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)_
16-
- [`0d3b4d0`](https://github.com/stdlib-js/stdlib/commit/0d3b4d0ceeb5eb56c80da840d3f080f98af7229b) - **chore:** remove extra spaces and lint fixes _(by Philipp Burckhardt)_
15+
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
1716

1817
</details>
1918

@@ -27,7 +26,7 @@
2726

2827
A total of 1 person contributed to this release. Thank you to this contributor:
2928

30-
- Philipp Burckhardt
29+
- Athan Reines
3130

3231
</section>
3332

@@ -37,46 +36,31 @@ A total of 1 person contributed to this release. Thank you to this contributor:
3736

3837
<!-- /.release -->
3938

40-
<section class="release" id="v0.2.1">
39+
<section class="release" id="v0.2.2">
4140

42-
## 0.2.1 (2024-02-22)
41+
## 0.2.2 (2024-07-27)
4342

4443
No changes reported for this release.
4544

4645
</section>
4746

4847
<!-- /.release -->
4948

50-
<section class="release" id="v0.2.0">
51-
52-
## 0.2.0 (2024-02-14)
53-
54-
<section class="commits">
55-
56-
### Commits
57-
58-
<details>
49+
<section class="release" id="v0.2.1">
5950

60-
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
61-
- [`bf038c4`](https://github.com/stdlib-js/stdlib/commit/bf038c45a43a91dfdcdf5f69240e1ebc782ea8d6) - **docs:** update related packages sections [(#1168)](https://github.com/stdlib-js/stdlib/pull/1168) _(by stdlib-bot)_
51+
## 0.2.1 (2024-02-22)
6252

63-
</details>
53+
No changes reported for this release.
6454

6555
</section>
6656

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

75-
- Philipp Burckhardt
59+
<section class="release" id="v0.2.0">
7660

77-
</section>
61+
## 0.2.0 (2024-02-14)
7862

79-
<!-- /.contributors -->
63+
No changes reported for this release.
8064

8165
</section>
8266

@@ -96,57 +80,7 @@ No changes reported for this release.
9680

9781
## 0.1.0 (2023-09-23)
9882

99-
<section class="features">
100-
101-
### Features
102-
103-
- [`898e8e4`](https://github.com/stdlib-js/stdlib/commit/898e8e45b2ff0b16c3b7a04786f4e2577422f5b6) - update minimum TypeScript version
104-
105-
</section>
106-
107-
<!-- /.features -->
108-
109-
<section class="breaking-changes">
110-
111-
### BREAKING CHANGES
112-
113-
- [`898e8e4`](https://github.com/stdlib-js/stdlib/commit/898e8e45b2ff0b16c3b7a04786f4e2577422f5b6): update minimum TypeScript version
114-
- [`898e8e4`](https://github.com/stdlib-js/stdlib/commit/898e8e45b2ff0b16c3b7a04786f4e2577422f5b6): update minimum TypeScript version to 4.1
115-
116-
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
117-
118-
</section>
119-
120-
<!-- /.breaking-changes -->
121-
122-
<section class="commits">
123-
124-
### Commits
125-
126-
<details>
127-
128-
- [`898e8e4`](https://github.com/stdlib-js/stdlib/commit/898e8e45b2ff0b16c3b7a04786f4e2577422f5b6) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
129-
- [`0e39133`](https://github.com/stdlib-js/stdlib/commit/0e39133f08095cc9c319adb377306a4d0500f664) - **chore:** use strictEqual checks and resolve lint errors _(by Philipp Burckhardt)_
130-
- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_
131-
132-
</details>
133-
134-
</section>
135-
136-
<!-- /.commits -->
137-
138-
<section class="contributors">
139-
140-
### Contributors
141-
142-
A total of 2 people contributed to this release. Thank you to the following contributors:
143-
144-
- Athan Reines
145-
- Philipp Burckhardt
146-
147-
</section>
148-
149-
<!-- /.contributors -->
83+
No changes reported for this release.
15084

15185
</section>
15286

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
268268
[npm-image]: http://img.shields.io/npm/v/@stdlib/number-float64-base-set-high-word.svg
269269
[npm-url]: https://npmjs.org/package/@stdlib/number-float64-base-set-high-word
270270
271-
[test-image]: https://github.com/stdlib-js/number-float64-base-set-high-word/actions/workflows/test.yml/badge.svg?branch=v0.2.2
272-
[test-url]: https://github.com/stdlib-js/number-float64-base-set-high-word/actions/workflows/test.yml?query=branch:v0.2.2
271+
[test-image]: https://github.com/stdlib-js/number-float64-base-set-high-word/actions/workflows/test.yml/badge.svg?branch=main
272+
[test-url]: https://github.com/stdlib-js/number-float64-base-set-high-word/actions/workflows/test.yml?query=branch:main
273273
274274
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-float64-base-set-high-word/main.svg
275275
[coverage-url]: https://codecov.io/github/stdlib-js/number-float64-base-set-high-word?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 `float64_set_high_word`.
21-
*/
2219
#include "stdlib/number/float64/base/set_high_word.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
uint32_t h;
9996
double x;

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
"url": "https://github.com/stdlib-js/stdlib/issues"
4141
},
4242
"dependencies": {
43-
"@stdlib/array-float64": "^0.2.1",
43+
"@stdlib/array-float64": "^0.2.2",
4444
"@stdlib/array-uint32": "^0.2.2",
45-
"@stdlib/assert-is-little-endian": "^0.2.1",
46-
"@stdlib/number-float64-base-to-words": "^0.2.1",
45+
"@stdlib/assert-is-little-endian": "^0.2.2",
46+
"@stdlib/number-float64-base-to-words": "^0.2.2",
4747
"@stdlib/utils-library-manifest": "^0.2.2"
4848
},
4949
"devDependencies": {
@@ -54,19 +54,19 @@
5454
"@stdlib/constants-float64-pinf": "^0.2.2",
5555
"@stdlib/constants-uint32-max": "^0.2.2",
5656
"@stdlib/math-base-assert-is-nan": "^0.2.2",
57-
"@stdlib/math-base-special-pow": "^0.2.1",
58-
"@stdlib/math-base-special-round": "^0.2.1",
59-
"@stdlib/number-float64-base-to-binary-string": "^0.2.1",
57+
"@stdlib/math-base-special-pow": "^0.3.0",
58+
"@stdlib/math-base-special-round": "^0.3.0",
59+
"@stdlib/number-float64-base-to-binary-string": "^0.2.2",
6060
"@stdlib/process-node-version": "^0.2.2",
6161
"@stdlib/random-base-randu": "^0.2.1",
62-
"@stdlib/string-left-pad": "^0.2.1",
62+
"@stdlib/string-left-pad": "^0.2.2",
6363
"@stdlib/utils-try-require": "^0.2.2",
6464
"proxyquire": "^2.0.0",
6565
"semver": "^6.0.0",
6666
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
6767
"istanbul": "^0.4.1",
6868
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
69-
"@stdlib/bench-harness": "^0.2.1"
69+
"@stdlib/bench-harness": "^0.2.2"
7070
},
7171
"engines": {
7272
"node": ">=0.10.0",

0 commit comments

Comments
 (0)