diff --git a/CHANGELOG.md b/CHANGELOG.md index 273900816..91b75050b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2741,6 +2741,7 @@ A total of 5 people contributed to this release. Thank you to the following cont
+- [`8bf8285`](https://github.com/stdlib-js/stdlib/commit/8bf8285aba0ecbd00ae145c4c5c098cd28135814) - **chore:** minor clean-up _(by Philipp Burckhardt)_ - [`8785e54`](https://github.com/stdlib-js/stdlib/commit/8785e54ec82782d7d01912988596c9d7d2bf06d0) - **refactor:** replace built-ins by stdlib packages, update benchmarks in `math/base/special/trunc` [(#3941)](https://github.com/stdlib-js/stdlib/pull/3941) _(by Gunj Joshi, Athan Reines)_ - [`db76062`](https://github.com/stdlib-js/stdlib/commit/db76062ddee3a358ddb2ac1dc725610516b2891f) - **docs:** update function descriptions and move link [(#4015)](https://github.com/stdlib-js/stdlib/pull/4015) _(by Gunj Joshi)_ - [`a1b543a`](https://github.com/stdlib-js/stdlib/commit/a1b543a2a1bdf4d1fb9438bd4a13cb971af62063) - **docs:** update related packages sections [(#4009)](https://github.com/stdlib-js/stdlib/pull/4009) _(by stdlib-bot, Philipp Burckhardt)_ diff --git a/base/assert/is-composite/examples/c/example.c b/base/assert/is-composite/examples/c/example.c index 450875c14..be4ca74cf 100644 --- a/base/assert/is-composite/examples/c/example.c +++ b/base/assert/is-composite/examples/c/example.c @@ -21,7 +21,7 @@ #include int main( void ) { - const double x[] = { 0.0, 0.0/0.0, 1.0, -1.0 , 4.0 }; + const double x[] = { 0.0, 0.0/0.0, 1.0, -1.0, 4.0 }; bool r; int i; diff --git a/base/special/ellipk/src/main.c b/base/special/ellipk/src/main.c index caddf815f..fb953ab72 100644 --- a/base/special/ellipk/src/main.c +++ b/base/special/ellipk/src/main.c @@ -358,7 +358,7 @@ double stdlib_base_ellipk( const double m ) { return STDLIB_CONSTANT_FLOAT64_PINF; } if ( x > 1.0 ) { - return 0.0 / 0.0; //NaN + return 0.0 / 0.0; // NaN } if ( x < 0.1 ) { t = poly_p1( x - 0.05 ); @@ -384,7 +384,7 @@ double stdlib_base_ellipk( const double m ) { td = 1.0 - x; qd = poly_p11( td ); kdm = poly_p12( td - 0.05 ); - t = -stdlib_base_ln( qd ) * ( kdm * ONE_DIV_PI ); + t = -stdlib_base_ln( qd ) * ( kdm * ONE_DIV_PI ); } if ( FLG == 1 ) { // Complete the transformation mentioned above for m < 0: diff --git a/base/special/negafibonacci/src/main.c b/base/special/negafibonacci/src/main.c index a4a78d438..c9e3ffcec 100644 --- a/base/special/negafibonacci/src/main.c +++ b/base/special/negafibonacci/src/main.c @@ -117,7 +117,7 @@ static const double negafibonacci_value[ 79 ] = { double stdlib_base_negafibonacci( const int32_t n ) { int32_t an; if ( n > 0 ) { - return 0.0 / 0.0; //NaN + return 0.0 / 0.0; // NaN } an = stdlib_base_abs( n ); if ( an > STDLIB_CONSTANT_FLOAT64_MAX_SAFE_NTH_FIBONACCI ) { diff --git a/base/special/negalucasf/docs/repl.txt b/base/special/negalucasf/docs/repl.txt index cee205699..4d05f090b 100644 --- a/base/special/negalucasf/docs/repl.txt +++ b/base/special/negalucasf/docs/repl.txt @@ -1,7 +1,6 @@ {{alias}}( n ) - Computes the nth negaLucas number in - single-precision floating-point format. + Computes the nth negaLucas number in single-precision floating-point format. The negaLucas numbers follow the recurrence relation diff --git a/base/special/nonfibonacci/examples/c/example.c b/base/special/nonfibonacci/examples/c/example.c index 3bea3f3d3..427299121 100644 --- a/base/special/nonfibonacci/examples/c/example.c +++ b/base/special/nonfibonacci/examples/c/example.c @@ -23,6 +23,6 @@ int main( void ) { int i; for ( i = 1; i < 12; i++ ) { double result = stdlib_base_nonfibonacci( i ); - printf( "x: %i => result: %lf", i , result ); + printf( "x: %i => result: %lf", i, result ); } }