Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Dec 18, 2024
1 parent eda178f commit 075c865
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2741,6 +2741,7 @@ A total of 5 people contributed to this release. Thank you to the following cont

<details>

- [`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)_
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-composite/examples/c/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <stdbool.h>

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;
Expand Down
4 changes: 2 additions & 2 deletions base/special/ellipk/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion base/special/negafibonacci/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
3 changes: 1 addition & 2 deletions base/special/negalucasf/docs/repl.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion base/special/nonfibonacci/examples/c/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}

0 comments on commit 075c865

Please sign in to comment.