Skip to content

Commit 5c8df7e

Browse files
committed
Auto-generated commit
1 parent 5cf2b55 commit 5c8df7e

File tree

10 files changed

+11
-10
lines changed

10 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,7 @@ A total of 90 issues were closed in this release:
725725

726726
<details>
727727

728+
- [`e81a8c0`](https://github.com/stdlib-js/stdlib/commit/e81a8c0c8501d4bc3e3b3843a86476a2e088a9d6) - **docs:** fix C examples [(#11134)](https://github.com/stdlib-js/stdlib/pull/11134) _(by anee3)_
728729
- [`cd99fef`](https://github.com/stdlib-js/stdlib/commit/cd99fef661e7a5f6e600ee81295ec4dbc8501187) - **docs:** fix C examples [(#11135)](https://github.com/stdlib-js/stdlib/pull/11135) _(by anee3)_
729730
- [`b20816f`](https://github.com/stdlib-js/stdlib/commit/b20816f0b727f9a365b0fd526092db9cd2ad75fc) - **docs:** fix incorrect return annotation [(#11128)](https://github.com/stdlib-js/stdlib/pull/11128) _(by anee3)_
730731
- [`b7feba2`](https://github.com/stdlib-js/stdlib/commit/b7feba2d63f20199707be94ffa1284538e0c4395) - **docs:** fix C example variable declaration [(#11127)](https://github.com/stdlib-js/stdlib/pull/11127) _(by anee3)_

base/special/fibonacci-indexf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static const float SQRT_5 = 2.23606797749979f;
3838
* @return Fibonacci number index
3939
*
4040
* @example
41-
* float out = stdlib_base_fibonacci_index( 2.0f );
41+
* float out = stdlib_base_fibonacci_indexf( 2.0f );
4242
* // returns 3.0f
4343
*/
4444
float stdlib_base_fibonacci_indexf( const float F ) {

base/special/gamma-lanczos-sum/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static double rational_pq( const double x ) {
6666
* @return Lanczos sum approximation
6767
*
6868
* @example
69-
* double v = stdlib_base_gammaLanczosSum( 4.0 );
69+
* double v = stdlib_base_gamma_lanczos_sum( 4.0 );
7070
* // returns ~950.366
7171
*/
7272
double stdlib_base_gamma_lanczos_sum( const double x ) {

base/special/hyp2f1/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ static double hyt2f1( const double a, const double b, const double c, const doub
408408
* @return function value
409409
*
410410
* @example
411-
* double v = stdlib_base_gamma( 1.0, 1.0, 1.0, 0.0 );
411+
* double v = stdlib_base_hyp2f1( 1.0, 1.0, 1.0, 0.0 );
412412
* // returns 1.0
413413
*/
414414
double stdlib_base_hyp2f1( const double a, const double b, const double c, const double x ) {

base/special/kronecker-deltaf/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
* @return function value
2828
*
2929
* @example
30-
* float v = stdlib_base_kronecker_delta( 3.0f, 3.0f );
30+
* float v = stdlib_base_kronecker_deltaf( 3.0f, 3.0f );
3131
* // returns 1.0f
3232
*
3333
* @example
34-
* float v = stdlib_base_kronecker_delta( 3.0f, 3.14f );
34+
* float v = stdlib_base_kronecker_deltaf( 3.0f, 3.14f );
3535
* // returns 0.0f
3636
*/
3737
float stdlib_base_kronecker_deltaf( const float i, const float j ) {

base/special/log1pmx/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
*
4444
* @example
4545
* double out = stdlib_base_log1pmx( 0.0 );
46-
* // returns ~0.693
46+
* // returns 0.0
4747
*/
4848
double stdlib_base_log1pmx( const double x ) {
4949
double ax;

base/special/sech/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @return hyperbolic secant
2727
*
2828
* @example
29-
* var v = stdlib_base_sech( 2.0 );
29+
* double v = stdlib_base_sech( 2.0 );
3030
* // returns ~0.2658
3131
*/
3232
double stdlib_base_sech( const double x ) {

base/special/sqrtpi/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
* @example
3030
* double out = stdlib_base_sqrtpi( 4.0 );
31-
* // returns 3.5449
31+
* // returns ~3.5449
3232
*/
3333
double stdlib_base_sqrtpi( const double x ) {
3434
return stdlib_base_sqrt( x * STDLIB_CONSTANT_FLOAT64_PI );

base/special/trunc10/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @return rounded value
3131
*
3232
* @example
33-
* double y = stdlib_base_trunc2( 13.0 );
33+
* double y = stdlib_base_trunc10( 13.0 );
3434
* // returns 10.0
3535
*/
3636
double stdlib_base_trunc10( const double x ) {

base/special/vercosf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* @example
2929
* float y = stdlib_base_vercosf( 3.141592653589793f / 2.0f );
30-
* // returns 1.0f
30+
* // returns ~1.0f
3131
*/
3232
float stdlib_base_vercosf( const float x ) {
3333
return 1.0f + stdlib_base_cosf( x );

0 commit comments

Comments
 (0)