diff --git a/.github/.keepalive b/.github/.keepalive new file mode 100644 index 0000000..d4a3b26 --- /dev/null +++ b/.github/.keepalive @@ -0,0 +1 @@ +2024-08-01T01:58:26.959Z diff --git a/.gitignore b/.gitignore index 49b206b..4fdc97c 100644 --- a/.gitignore +++ b/.gitignore @@ -101,6 +101,8 @@ docs/**/node_modules/ pids *.pid *.seed +yarn.lock +package-lock.json # Typescript # ############## diff --git a/CHANGELOG.md b/CHANGELOG.md index fc8740f..39f4d42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ > Package changelog. -
+
-## 0.2.2 (2024-07-27) +## Unreleased (2024-08-01)
@@ -12,7 +12,7 @@
-- [`d04dcbd`](https://github.com/stdlib-js/stdlib/commit/d04dcbd6dc3b0bf4a89bd3947d317fa5ff15bb38) - **docs:** remove private annotations in C comments _(by Philipp Burckhardt)_ +- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
@@ -26,7 +26,7 @@ A total of 1 person contributed to this release. Thank you to this contributor: -- Philipp Burckhardt +- Athan Reines
@@ -36,9 +36,9 @@ A total of 1 person contributed to this release. Thank you to this contributor: -
+
-## 0.2.1 (2024-02-22) +## 0.2.2 (2024-07-27) No changes reported for this release. @@ -46,9 +46,9 @@ No changes reported for this release. -
+
-## 0.2.0 (2024-02-14) +## 0.2.1 (2024-02-22) No changes reported for this release. @@ -56,45 +56,21 @@ No changes reported for this release. -
- -## 0.1.0 (2024-01-25) - -
- -### Features - -- [`f21f6bf`](https://github.com/stdlib-js/stdlib/commit/f21f6bf27b244b94af0053364d95286aa37dfa52) - add `number/float32/base/assert/is-same-value` - -
- - - -
- -### Commits - -
+
-- [`f21f6bf`](https://github.com/stdlib-js/stdlib/commit/f21f6bf27b244b94af0053364d95286aa37dfa52) - **feat:** add `number/float32/base/assert/is-same-value` _(by Athan Reines)_ +## 0.2.0 (2024-02-14) -
+No changes reported for this release.
- - -
- -### Contributors - -A total of 1 person contributed to this release. Thank you to this contributor: + -- Athan Reines +
-
+## 0.1.0 (2024-01-25) - +No changes reported for this release.
diff --git a/README.md b/README.md index 9b1bb1c..c4d6027 100644 --- a/README.md +++ b/README.md @@ -289,8 +289,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/number-float32-base-assert-is-same-value.svg [npm-url]: https://npmjs.org/package/@stdlib/number-float32-base-assert-is-same-value -[test-image]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value/actions/workflows/test.yml/badge.svg?branch=v0.2.2 -[test-url]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value/actions/workflows/test.yml?query=branch:v0.2.2 +[test-image]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value/actions/workflows/test.yml/badge.svg?branch=main +[test-url]: https://github.com/stdlib-js/number-float32-base-assert-is-same-value/actions/workflows/test.yml?query=branch:main [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/number-float32-base-assert-is-same-value/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/number-float32-base-assert-is-same-value?branch=main diff --git a/benchmark/c/benchmark.c b/benchmark/c/benchmark.c index c35541b..2c37eab 100644 --- a/benchmark/c/benchmark.c +++ b/benchmark/c/benchmark.c @@ -16,9 +16,6 @@ * limitations under the License. */ -/** -* Benchmark `float32_is_same_value`. -*/ #include "stdlib/number/float32/base/assert/is_same_value.h" #include #include @@ -35,7 +32,7 @@ /** * Prints the TAP version. */ -void print_version( void ) { +static void print_version( void ) { printf( "TAP version 13\n" ); } @@ -45,7 +42,7 @@ void print_version( void ) { * @param total total number of tests * @param passing total number of passing tests */ -void print_summary( int total, int passing ) { +static void print_summary( int total, int passing ) { printf( "#\n" ); printf( "1..%d\n", total ); // TAP plan printf( "# total %d\n", total ); @@ -59,7 +56,7 @@ void print_summary( int total, int passing ) { * * @param elapsed elapsed time in seconds */ -void print_results( double elapsed ) { +static void print_results( double elapsed ) { double rate = (double)ITERATIONS / elapsed; printf( " ---\n" ); printf( " iterations: %d\n", ITERATIONS ); @@ -73,18 +70,18 @@ void print_results( double elapsed ) { * * @return clock time */ -double tic( void ) { +static double tic( void ) { struct timeval now; gettimeofday( &now, NULL ); return (double)now.tv_sec + (double)now.tv_usec/1.0e6; } /** -* Generates a random number on the interval [0,1]. +* Generates a random number on the interval [0,1). * * @return random number */ -float rand_float( void ) { +static float rand_float( void ) { int r = rand(); return (float)r / ( (float)RAND_MAX + 1.0f ); } @@ -94,7 +91,7 @@ float rand_float( void ) { * * @return elapsed time in seconds */ -double benchmark( void ) { +static double benchmark( void ) { double elapsed; double t; float x; diff --git a/package.json b/package.json index 7ca5cac..eec820a 100644 --- a/package.json +++ b/package.json @@ -41,19 +41,19 @@ }, "dependencies": { "@stdlib/napi-argv": "^0.2.2", - "@stdlib/napi-argv-float": "^0.2.1", + "@stdlib/napi-argv-float": "^0.2.2", "@stdlib/napi-export": "^0.2.2", - "@stdlib/utils-library-manifest": "^0.2.1" + "@stdlib/utils-library-manifest": "^0.2.2" }, "devDependencies": { "@stdlib/assert-is-boolean": "^0.2.2", "@stdlib/boolean-ctor": "^0.2.2", - "@stdlib/number-float64-base-to-float32": "^0.2.1", + "@stdlib/number-float64-base-to-float32": "^0.2.2", "@stdlib/utils-try-require": "^0.2.2", "tape": "git+https://github.com/kgryte/tape.git#fix/globby", "istanbul": "^0.4.1", "tap-min": "git+https://github.com/Planeshifter/tap-min.git", - "@stdlib/bench-harness": "^0.2.1" + "@stdlib/bench-harness": "^0.2.2" }, "engines": { "node": ">=0.10.0",