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 15, 2024
1 parent fa04f1c commit 41f6a47
Show file tree
Hide file tree
Showing 136 changed files with 316 additions and 291 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2741,6 +2741,12 @@ A total of 5 people contributed to this release. Thank you to the following cont

<details>

- [`0e887d5`](https://github.com/stdlib-js/stdlib/commit/0e887d567344c8a31a382266389022ec26f2bcca) - **style:** add missing spaces _(by Philipp Burckhardt)_
- [`ff25e13`](https://github.com/stdlib-js/stdlib/commit/ff25e1324e1507cc076078e82badce7fdf7915f6) - **docs:** remove excess whitespace _(by Philipp Burckhardt)_
- [`6bbf2d6`](https://github.com/stdlib-js/stdlib/commit/6bbf2d67034e056190594bf2bceca4eb40a66b6f) - **style:** fix indentation _(by Philipp Burckhardt)_
- [`0756fb5`](https://github.com/stdlib-js/stdlib/commit/0756fb583ae0061031335704fdc46805f408f9c9) - **style:** remove empty lines _(by Philipp Burckhardt)_
- [`cfc0665`](https://github.com/stdlib-js/stdlib/commit/cfc0665435a1f99158d7fed39b8873dea6aa6209) - **docs:** add missing private tag _(by Philipp Burckhardt)_
- [`e450426`](https://github.com/stdlib-js/stdlib/commit/e450426813957ec4de5e31434edb969741db7c94) - **bench:** add missing native suffix _(by Philipp Burckhardt)_
- [`3b4514d`](https://github.com/stdlib-js/stdlib/commit/3b4514d1272ea9e4863381e3d0febd02ba8d230f) - **feat:** add `math/base/special/negalucasf` _(by Aayush Khanna, stdlib-bot, Philipp Burckhardt)_
- [`aa5c7a8`](https://github.com/stdlib-js/stdlib/commit/aa5c7a80994aa8c6198b92f20dec9c451b05d1be) - **feat:** add `math/base/special/sqrtpif` _(by Gururaj Gurram, stdlib-bot, Gunj Joshi, Philipp Burckhardt)_
- [`b8c41df`](https://github.com/stdlib-js/stdlib/commit/b8c41df78cd2cdc9cd3c3c6b223759d32f4f6e14) - **docs:** update related packages sections [(#3915)](https://github.com/stdlib-js/stdlib/pull/3915) _(by stdlib-bot)_
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-even/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ int main( void ) {
double x;
bool v;
int i;

for ( i = 0; i < 100; i++ ) {
x = ( ( (double)rand() / (double)RAND_MAX ) * 100.0 );
v = stdlib_base_is_even( x );
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-even/benchmark/benchmark.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var opts = {

// MAIN //

bench( pkg, opts, function benchmark( b ) {
bench( pkg+'::native', opts, function benchmark( b ) {
var x;
var y;
var i;
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-evenf/benchmark/benchmark.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var opts = {

// MAIN //

bench( pkg, opts, function benchmark( b ) {
bench( pkg+'::native', opts, function benchmark( b ) {
var x;
var y;
var i;
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-integer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ int main( void ) {
double x;
bool v;
int i;

for ( i = 0; i < 100; i++ ) {
x = ( ( (double)rand() / (double)RAND_MAX ) * 100.0 ) - 50.0;
v = stdlib_base_is_integer( x );
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-integerf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ int main( void ) {
float x;
bool v;
int i;

for ( i = 0; i < 100; i++ ) {
x = ( ( (float)rand() / (float)RAND_MAX ) * 100.0f ) - 50.0f;
v = stdlib_base_is_integerf( x );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var opts = {

// MAIN //

bench( pkg, opts, function benchmark( b ) {
bench( pkg+'::native', opts, function benchmark( b ) {
var x;
var y;
var i;
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-nonnegative-integer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ int main( void ) {
double x;
bool v;
int i;

for ( i = 0; i < 100; i++ ) {
x = ( ( (double)rand() / (double)RAND_MAX ) * 100.0 ) - 50.0;
v = stdlib_base_is_nonnegative_integer( x );
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-nonnegative-integerf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ int main( void ) {
float x;
bool v;
int i;

for ( i = 0; i < 100; i++ ) {
x = ( ( (float)rand() / (float)RAND_MAX ) * 100.0f ) - 50.0f;
v = stdlib_base_is_nonnegative_integerf( x );
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-odd/benchmark/benchmark.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var opts = {

// MAIN //

bench( pkg, opts, function benchmark( b ) {
bench( pkg+'::native', opts, function benchmark( b ) {
var x;
var y;
var i;
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-oddf/benchmark/benchmark.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var opts = {

// MAIN //

bench( pkg, opts, function benchmark( b ) {
bench( pkg+'::native', opts, function benchmark( b ) {
var x;
var y;
var i;
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-probability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ int main( void ) {
double x;
bool v;
int i;
for ( i = 0; i < 100; i++ ) {
x = ( ( (double)rand() / (double)RAND_MAX ) * 2.0 ) - 1.0;
v = stdlib_base_is_probability( x );
Expand Down
4 changes: 2 additions & 2 deletions base/ops/cdiv/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ stdlib_complex128_t stdlib_base_cdiv( const stdlib_complex128_t z1, const stdlib

t1 = stdlib_base_abs( re1 );
t2 = stdlib_base_abs( im1 );
if ( t1 > t2 ){
if ( t1 > t2 ) {
ab = t1;
} else {
ab = t2;
}
t1 = stdlib_base_abs( re2 );
t2 = stdlib_base_abs( im2 );
if ( t1 > t2 ){
if ( t1 > t2 ) {
cd = t1;
} else {
cd = t2;
Expand Down
2 changes: 1 addition & 1 deletion base/special/acos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ double stdlib_base_acos( const double x );
int main( void ) {
const double x[] = { -1.0, -0.78, -0.56, -0.33, -0.11, 0.11, 0.33, 0.56, 0.78, 1.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acosd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ double stdlib_base_acosd( const double x );
int main( void ) {
const double x[] = { 1.0, 1.45, 1.89, 2.33, 2.78, 3.22, 3.66, 4.11, 4.55, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
1 change: 1 addition & 0 deletions base/special/acosd/lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var addon = require( './../src/addon.node' );
/**
* Computes the arccosine (in degrees) of a double-precision floating-point number.
*
* @private
* @param {number} x - input value
* @returns {number} arccosine (in degrees)
*
Expand Down
2 changes: 1 addition & 1 deletion base/special/acosdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ float stdlib_base_acosdf( const float x );
int main( void ) {
const float x[] = { 1.0f, 1.45f, 1.89f, 2.33f, 2.78f, 3.22f, 3.66f, 4.11f, 4.55f, 5.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
1 change: 1 addition & 0 deletions base/special/acosdf/lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var addon = require( './../src/addon.node' );
/**
* Computes the arccosine (in degrees) of a single-precision floating-point number.
*
* @private
* @param {number} x - input value
* @returns {number} arccosine (in degrees)
*
Expand Down
2 changes: 1 addition & 1 deletion base/special/acosf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ float stdlib_base_acosf( const float x );
int main( void ) {
const float x[] = { -1.0f, -0.78f, -0.56f, -0.33f, -0.11f, 0.11f, 0.33f, 0.56f, 0.78f, 1.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acosh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ double stdlib_base_acosh( const double x );
int main( void ) {
const double x[] = { 1.0, 1.45, 1.89, 2.33, 2.78, 3.22, 3.66, 4.11, 4.55, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ double stdlib_base_acot( const double x );
int main( void ) {
const double x[] = { -5.0, -3.89, -2.78, -1.67, -0.56, 0.56, 1.67, 2.78, 3.89, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acotd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ double stdlib_base_acotd( const double x );
int main( void ) {
const double x[] = { 1.0, 1.45, 1.89, 2.33, 2.78, 3.22, 3.66, 4.11, 4.55, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
1 change: 1 addition & 0 deletions base/special/acotd/lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var addon = require( './../src/addon.node' );
/**
* Computes the arccotangent (in degrees) of a double-precision floating-point number.
*
* @private
* @param {number} x - input value
* @returns {number} arccotangent (in degrees)
*
Expand Down
2 changes: 1 addition & 1 deletion base/special/acotdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ float stdlib_base_acotdf( const float x );
int main( void ) {
const float x[] = { 1.0f, 1.45f, 1.89f, 2.33f, 2.78f, 3.22f, 3.66f, 4.11f, 4.55f, 5.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
1 change: 1 addition & 0 deletions base/special/acotdf/lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var addon = require( './../src/addon.node' );
/**
* Computes the arccotangent (in degrees) of a single-precision floating-point number.
*
* @private
* @param {number} x - input value
* @returns {number} arccotangent (in degrees)
*
Expand Down
2 changes: 1 addition & 1 deletion base/special/acotf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ float stdlib_base_acotf( const float x );
int main( void ) {
const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.56f, 0.56f, 1.67f, 2.78f, 3.89f, 5.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acoth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ double stdlib_base_acoth( const double x );
int main( void ) {
const double x[] = { 1.0, 1.44, 1.89, 2.33, 2.78, 3.22, 3.67, 4.11, 4.56, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acovercos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ double stdlib_base_acovercos( const double x );
int main( void ) {
const double x[] = { -2.0, -1.80, -1.78, -1.67, -0.56, -0.27, -1.67, -0.78, -1.89, 0.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acoversin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ double stdlib_base_acoversin( const double x );
int main( void ) {
const double x[] = { -5.0, -3.89, -2.78, -1.67, -0.56, 0.56, 1.67, 2.78, 3.89, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acsc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ double stdlib_base_acsc( const double x );
int main( void ) {
const double x[] = { -5.0, -3.89, -2.78, -1.67, -0.56, 0.56, 1.67, 2.78, 3.89, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acscd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ double stdlib_base_acscd( const double x );
int main( void ) {
const double x[] = { 1.0, 1.45, 1.89, 2.33, 2.78, 3.22, 3.66, 4.11, 4.55, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
1 change: 1 addition & 0 deletions base/special/acscd/lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var addon = require( './../src/addon.node' );
/**
* Computes the arccosecant (in degrees) of a double-precision floating-point number.
*
* @private
* @param {number} x - input value
* @returns {number} arccosecant (in degrees)
*
Expand Down
2 changes: 1 addition & 1 deletion base/special/acscf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ float stdlib_base_acscf( const float x );
int main( void ) {
const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.56f, 0.56f, 1.67f, 2.78f, 3.89f, 5.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/acsch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ double stdlib_base_acsch( const double x );
int main( void ) {
const double x[] = { -5.0, -3.89, -2.78, -1.67, -0.55, 0.55, 1.67, 2.78, 3.89, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/ahavercos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ double stdlib_base_ahavercos( const double x );
int main( void ) {
const double x[] = { -2.0, -1.6, -1.2, -0.8, -0.4, 0.4, 0.8, 1.2, 1.6, 2.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/ahavercosf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ float stdlib_base_ahavercosf( const float x );
int main( void ) {
const float x[] = { -2.0f, -1.6f, -1.2f, -0.8f, -0.4f, 0.4f, 0.8f, 1.2f, 1.6f, 2.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/ahaversin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ double stdlib_base_ahaversin( const double x );
int main( void ) {
const double x[] = { -2.0, -1.6, -1.2, -0.8, -0.4, 0.4, 0.8, 1.2, 1.6, 2.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/ahaversinf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ float stdlib_base_ahaversinf( const float x );
int main( void ) {
const float x[] = { -2.0f, -1.6f, -1.2f, -0.8f, -0.4f, 0.4f, 0.8f, 1.2f, 1.6f, 2.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/asec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ double stdlib_base_asec( const double x );
int main( void ) {
const double x[] = { -5.0, -3.89, -2.78, -1.67, -0.56, 0.56, 1.67, 2.78, 3.89, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/asecd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ double stdlib_base_asecd( const double x );
int main( void ) {
const double x[] = { 1.0, 1.45, 1.89, 2.33, 2.78, 3.22, 3.66, 4.11, 4.55, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
1 change: 1 addition & 0 deletions base/special/asecd/lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var addon = require( './../src/addon.node' );
/**
* Computes the arcsecant (in degrees) of a double-precision floating-point number.
*
* @private
* @param {number} x - input value
* @returns {number} arcsecant (in degrees)
*
Expand Down
2 changes: 1 addition & 1 deletion base/special/asecf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ float stdlib_base_asecf( const float x );
int main( void ) {
const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.56f, 0.56f, 1.67f, 2.78f, 3.89f, 5.0f };
float v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
2 changes: 1 addition & 1 deletion base/special/asech/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ double stdlib_base_asech( const double x );
int main( void ) {
const double x[] = { 0.0, 0.5, 1.0, 1.89, 2.33, 3.22, 3.67, 4.11, 4.56, 5.0 };
double v;
int i;
for ( i = 0; i < 10; i++ ) {
Expand Down
Loading

0 comments on commit 41f6a47

Please sign in to comment.