diff --git a/.github/.keepalive b/.github/.keepalive new file mode 100644 index 0000000..4008663 --- /dev/null +++ b/.github/.keepalive @@ -0,0 +1 @@ +2024-08-01T03:51:26.608Z 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 22d506b..ae6da26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ > Package changelog. -
+
-## 0.2.4 (2024-07-28) +## Unreleased (2024-08-01)
@@ -12,8 +12,7 @@
-- [`41d41e9`](https://github.com/stdlib-js/stdlib/commit/41d41e959b4eaad3c631e6898e3144a4015a5458) - **test:** include trailing newlines in Julia-generated JSON fixtures _(by Philipp Burckhardt)_ -- [`9ed7d0e`](https://github.com/stdlib-js/stdlib/commit/9ed7d0e7d57edb5ad0dfb65c944bed87d475cbf3) - **chore:** add missing trailing newlines _(by Philipp Burckhardt)_ +- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
@@ -27,7 +26,7 @@ A total of 1 person contributed to this release. Thank you to this contributor: -- Philipp Burckhardt +- Athan Reines
@@ -37,9 +36,9 @@ A total of 1 person contributed to this release. Thank you to this contributor: -
+
-## 0.2.3 (2024-04-04) +## 0.2.4 (2024-07-28) No changes reported for this release. @@ -47,59 +46,21 @@ No changes reported for this release. -
- -## 0.2.2 (2024-03-07) - -
- -### Features - -- [`234c6c3`](https://github.com/stdlib-js/stdlib/commit/234c6c3261313ab8f60c3211bc77fa21741664f7) - add C implementation for `math/base/special/acovercos` - -
- - - -
- -### Bug Fixes - -- [`ca6614a`](https://github.com/stdlib-js/stdlib/commit/ca6614abe2ae5acdcfd6eccaf49a65215f60d99e) - add missing gypfile field entries - -
- - - -
- -### Commits - -
+
-- [`ca6614a`](https://github.com/stdlib-js/stdlib/commit/ca6614abe2ae5acdcfd6eccaf49a65215f60d99e) - **fix:** add missing gypfile field entries _(by Philipp Burckhardt)_ -- [`5cfd0a8`](https://github.com/stdlib-js/stdlib/commit/5cfd0a8712299d680aff7f9d8fca0c0ac69de56b) - **chore:** update package meta data [(#1462)](https://github.com/stdlib-js/stdlib/pull/1462) _(by stdlib-bot)_ -- [`234c6c3`](https://github.com/stdlib-js/stdlib/commit/234c6c3261313ab8f60c3211bc77fa21741664f7) - **feat:** add C implementation for `math/base/special/acovercos` _(by Adarsh Palaskar, Pranav)_ +## 0.2.3 (2024-04-04) -
+No changes reported for this release.
- - -
- -### Contributors - -A total of 3 people contributed to this release. Thank you to the following contributors: + -- Adarsh Palaskar -- Philipp Burckhardt -- Pranav +
-
+## 0.2.2 (2024-03-07) - +No changes reported for this release.
@@ -139,56 +100,7 @@ No changes reported for this release. ## 0.1.0 (2023-09-23) -
- -### Features - -- [`58832ee`](https://github.com/stdlib-js/stdlib/commit/58832eef6d93e6519622148242600eae93dca4d9) - update minimum TypeScript version - -
- - - -
- -### 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)_ -- [`ce7e336`](https://github.com/stdlib-js/stdlib/commit/ce7e3367c0f9477773fe76dd0eca64dc6ad33c02) - **docs:** update equations _(by Philipp Burckhardt)_ -- [`c5da1f9`](https://github.com/stdlib-js/stdlib/commit/c5da1f9a22b1033d40115798acf13a09acf9410d) - **docs:** render equations via math code blocks _(by Philipp Burckhardt)_ - -
- -
- - - -
- -### Contributors - -A total of 1 person contributed to this release. Thank you to this contributor: - -- Philipp Burckhardt - -
- - +No changes reported for this release.
diff --git a/README.md b/README.md index a884733..1e79f6d 100644 --- a/README.md +++ b/README.md @@ -279,8 +279,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-special-acovercos.svg [npm-url]: https://npmjs.org/package/@stdlib/math-base-special-acovercos -[test-image]: https://github.com/stdlib-js/math-base-special-acovercos/actions/workflows/test.yml/badge.svg?branch=v0.2.4 -[test-url]: https://github.com/stdlib-js/math-base-special-acovercos/actions/workflows/test.yml?query=branch:v0.2.4 +[test-image]: https://github.com/stdlib-js/math-base-special-acovercos/actions/workflows/test.yml/badge.svg?branch=main +[test-url]: https://github.com/stdlib-js/math-base-special-acovercos/actions/workflows/test.yml?query=branch:main [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-acovercos/main.svg [coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-acovercos?branch=main diff --git a/benchmark/c/benchmark.c b/benchmark/c/benchmark.c index c6f0705..e5d6cef 100644 --- a/benchmark/c/benchmark.c +++ b/benchmark/c/benchmark.c @@ -16,9 +16,6 @@ * limitations under the License. */ -/** -* Benchmark `acovercos`. -*/ #include #include #include @@ -32,7 +29,7 @@ /** * Prints the TAP version. */ -void print_version() { +static void print_version( void ) { printf( "TAP version 13\n" ); } @@ -42,7 +39,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 ); @@ -56,7 +53,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 ); @@ -70,18 +67,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 */ -double rand_double() { +static double rand_double( void ) { int r = rand(); return (double)r / ( (double)RAND_MAX + 1.0 ); } @@ -91,7 +88,7 @@ double rand_double() { * * @return elapsed time in seconds */ -double benchmark() { +static double benchmark( void ) { double elapsed; double x; double y; diff --git a/benchmark/c/native/benchmark.c b/benchmark/c/native/benchmark.c index f385f62..0bcaead 100644 --- a/benchmark/c/native/benchmark.c +++ b/benchmark/c/native/benchmark.c @@ -16,9 +16,6 @@ * limitations under the License. */ -/** -* Benchmark `acovercos`. -*/ #include "stdlib/math/base/special/acovercos.h" #include #include @@ -33,7 +30,7 @@ /** * Prints the TAP version. */ -void print_version() { +static void print_version( void ) { printf( "TAP version 13\n" ); } @@ -43,7 +40,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 ); @@ -57,7 +54,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 ); @@ -71,18 +68,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 */ -double rand_double() { +static double rand_double( void ) { int r = rand(); return (double)r / ( (double)RAND_MAX + 1.0 ); } @@ -92,7 +89,7 @@ double rand_double() { * * @return elapsed time in seconds */ -double benchmark() { +static double benchmark( void ) { double elapsed; double x; double y; diff --git a/package.json b/package.json index 5b04ab5..24c56fb 100644 --- a/package.json +++ b/package.json @@ -41,14 +41,14 @@ }, "dependencies": { "@stdlib/math-base-napi-unary": "^0.2.3", - "@stdlib/math-base-special-asin": "^0.2.2", + "@stdlib/math-base-special-asin": "^0.2.3", "@stdlib/utils-library-manifest": "^0.2.2" }, "devDependencies": { - "@stdlib/array-base-linspace": "^0.2.1", + "@stdlib/array-base-linspace": "^0.2.2", "@stdlib/constants-float64-eps": "^0.2.2", "@stdlib/math-base-assert-is-nan": "^0.2.2", - "@stdlib/math-base-special-abs": "^0.2.1", + "@stdlib/math-base-special-abs": "^0.2.2", "@stdlib/random-base-randu": "^0.2.1", "@stdlib/utils-try-require": "^0.2.2", "tape": "git+https://github.com/kgryte/tape.git#fix/globby",