diff --git a/.github/.keepalive b/.github/.keepalive new file mode 100644 index 0000000..d73162f --- /dev/null +++ b/.github/.keepalive @@ -0,0 +1 @@ +2024-08-01T01:30:10.579Z 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 fb8b66e..401a620 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ > Package changelog. -
+
-## 0.2.2 (2024-07-27) +## Unreleased (2024-08-01)
@@ -12,12 +12,7 @@
-- [`8d4c46b`](https://github.com/stdlib-js/stdlib/commit/8d4c46b10ca912401e0ff0caa37a17cd3c443c2f) - **refactor:** update paths _(by Athan Reines)_ -- [`ed9c0a5`](https://github.com/stdlib-js/stdlib/commit/ed9c0a5e55ff09af3dd6af8c38615480e2c1828e) - **refactor:** update paths _(by Athan Reines)_ -- [`3a3b1e0`](https://github.com/stdlib-js/stdlib/commit/3a3b1e08f73a54c5ee46d73045805aee0bb1196d) - **docs:** update package URLs [(#2269)](https://github.com/stdlib-js/stdlib/pull/2269) _(by stdlib-bot)_ -- [`8089b88`](https://github.com/stdlib-js/stdlib/commit/8089b886a4d7d89f15abb068b1021d93f9c4f64e) - **docs:** update paths _(by Athan Reines)_ -- [`038b199`](https://github.com/stdlib-js/stdlib/commit/038b199c32842c02cf678e3ae8305a17aacda05e) - **docs:** update paths _(by Athan Reines)_ -- [`75d4f83`](https://github.com/stdlib-js/stdlib/commit/75d4f83cb85610d23a04dc21a03f8075f6d3665f) - **refactor:** update require and include paths _(by Athan Reines)_ +- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
@@ -41,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. @@ -51,37 +46,21 @@ No changes reported for this release. -
- -## 0.2.0 (2024-02-14) - -
- -### Commits - -
+
-- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_ -- [`215dfe6`](https://github.com/stdlib-js/stdlib/commit/215dfe690670731f044d09c92832081bc99372cc) - **docs:** update links _(by Athan Reines)_ +## 0.2.1 (2024-02-22) -
+No changes reported for this release.
- - -
- -### Contributors - -A total of 2 people contributed to this release. Thank you to the following contributors: + -- Athan Reines -- Philipp Burckhardt +
-
+## 0.2.0 (2024-02-14) - +No changes reported for this release.
@@ -101,70 +80,7 @@ No changes reported for this release. ## 0.1.0 (2023-09-22) -
- -### Features - -- [`58832ee`](https://github.com/stdlib-js/stdlib/commit/58832eef6d93e6519622148242600eae93dca4d9) - update minimum TypeScript version - -
- - - -
- -### Bug Fixes - -- [`32a2827`](https://github.com/stdlib-js/stdlib/commit/32a282799ffd272d2a0554e81755a14923564e51) - update import paths for complex type defs - -
- - - -
- -### BREAKING CHANGES - -- [`58832ee`](https://github.com/stdlib-js/stdlib/commit/58832eef6d93e6519622148242600eae93dca4d9): update minimum TypeScript version -- [`58832ee`](https://github.com/stdlib-js/stdlib/commit/58832eef6d93e6519622148242600eae93dca4d9): update minimum TypeScript version to 4.1 - - - To migrate, users should upgrade their TypeScript version to at least version 4.1. - -
- - - -
- -### Commits - -
- -- [`58832ee`](https://github.com/stdlib-js/stdlib/commit/58832eef6d93e6519622148242600eae93dca4d9) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_ -- [`32a2827`](https://github.com/stdlib-js/stdlib/commit/32a282799ffd272d2a0554e81755a14923564e51) - **fix:** update import paths for complex type defs _(by Athan Reines)_ -- [`b734544`](https://github.com/stdlib-js/stdlib/commit/b734544a52783cb7f5cf1115f4355cabe46d0abe) - **refactor:** use strictEqual checks _(by Philipp Burckhardt)_ -- [`b9e414a`](https://github.com/stdlib-js/stdlib/commit/b9e414a8958f7e59ebf824db6923eb6aba0010a0) - **docs:** resolve C lint errors _(by Athan Reines)_ -- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_ -- [`c5da1f9`](https://github.com/stdlib-js/stdlib/commit/c5da1f9a22b1033d40115798acf13a09acf9410d) - **docs:** render equations via math code blocks _(by Philipp Burckhardt)_ - -
- -
- - - -
- -### Contributors - -A total of 2 people contributed to this release. Thank you to the following contributors: - -- Athan Reines -- Philipp Burckhardt - -
- - +No changes reported for this release.
diff --git a/README.md b/README.md index 2a25f2e..63b1298 100644 --- a/README.md +++ b/README.md @@ -276,8 +276,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-special-cidentityf.svg [npm-url]: https://npmjs.org/package/@stdlib/math-base-special-cidentityf -[test-image]: https://github.com/stdlib-js/math-base-special-cidentityf/actions/workflows/test.yml/badge.svg?branch=v0.2.2 -[test-url]: https://github.com/stdlib-js/math-base-special-cidentityf/actions/workflows/test.yml?query=branch:v0.2.2 +[test-image]: https://github.com/stdlib-js/math-base-special-cidentityf/actions/workflows/test.yml/badge.svg?branch=main +[test-url]: https://github.com/stdlib-js/math-base-special-cidentityf/actions/workflows/test.yml?query=branch:main [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-cidentityf/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-cidentityf?branch=main diff --git a/benchmark/c/benchmark.c b/benchmark/c/benchmark.c index a33e277..2f9e68a 100644 --- a/benchmark/c/benchmark.c +++ b/benchmark/c/benchmark.c @@ -16,9 +16,6 @@ * limitations under the License. */ -/** -* Benchmark `cidentityf`. -*/ #include "stdlib/math/base/special/cidentityf.h" #include #include @@ -34,7 +31,7 @@ /** * Prints the TAP version. */ -void print_version() { +static void print_version( void ) { printf( "TAP version 13\n" ); } @@ -44,7 +41,7 @@ void print_version() { * @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 ); @@ -58,7 +55,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 ); @@ -72,18 +69,18 @@ void print_results( double elapsed ) { * * @return clock time */ -double tic() { +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() { +static float rand_float( void ) { int r = rand(); return (float)r / ( (float)RAND_MAX + 1.0f ); } @@ -93,7 +90,7 @@ float rand_float() { * * @return elapsed time in seconds */ -double benchmark() { +static double benchmark( void ) { float complex x; float complex y; double elapsed; diff --git a/package.json b/package.json index 56a7f54..e386c4d 100644 --- a/package.json +++ b/package.json @@ -40,23 +40,23 @@ }, "dependencies": { "@stdlib/types": "^0.3.2", - "@stdlib/utils-library-manifest": "^0.2.1" + "@stdlib/utils-library-manifest": "^0.2.2" }, "devDependencies": { - "@stdlib/complex-float32-ctor": "^0.0.1", - "@stdlib/complex-float32-imag": "^0.1.0", - "@stdlib/complex-float32-real": "^0.1.0", - "@stdlib/constants-float32-ninf": "^0.2.1", - "@stdlib/constants-float32-pinf": "^0.2.1", - "@stdlib/math-base-assert-is-nanf": "^0.2.1", - "@stdlib/math-base-assert-is-negative-zerof": "^0.1.2", - "@stdlib/math-base-assert-is-positive-zerof": "^0.1.2", + "@stdlib/complex-float32-ctor": "^0.0.2", + "@stdlib/complex-float32-imag": "^0.1.1", + "@stdlib/complex-float32-real": "^0.1.1", + "@stdlib/constants-float32-ninf": "^0.2.2", + "@stdlib/constants-float32-pinf": "^0.2.2", + "@stdlib/math-base-assert-is-nanf": "^0.2.2", + "@stdlib/math-base-assert-is-negative-zerof": "^0.1.3", + "@stdlib/math-base-assert-is-positive-zerof": "^0.1.3", "@stdlib/random-base-discrete-uniform": "^0.2.1", "@stdlib/random-base-uniform": "^0.2.1", "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",