From a41672a0cbe15147772717e1cc7eef52f9c851d2 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 14 Oct 2026 16:38:36 +0000 Subject: [PATCH 1/3] chore: add missing keywords to `math/base/special/ellipj` Populated the empty `keywords` array in `package.json` with the namespace prefix shared by 382/383 (99.7%) siblings ("stdlib", "stdmath", "mathematics", "math") and package-specific terms following the `ellipk`/`ellipe` convention. `ellipj` was the only package in `lib/node_modules/@stdlib` with an empty `keywords` array. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PrXnrxd4fshM1EZC9BNFTJ --- .../math/base/special/ellipj/package.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/ellipj/package.json b/lib/node_modules/@stdlib/math/base/special/ellipj/package.json index 03ac2bd67869..e5f357f1f865 100644 --- a/lib/node_modules/@stdlib/math/base/special/ellipj/package.json +++ b/lib/node_modules/@stdlib/math/base/special/ellipj/package.json @@ -51,5 +51,19 @@ "win32", "windows" ], - "keywords": [] + "keywords": [ + "stdlib", + "stdmath", + "mathematics", + "math", + "special", + "elliptic", + "jacobi", + "sn", + "cn", + "dn", + "am", + "amplitude", + "number" + ] } From 096046fd6b957c0ce95e7e1f90e3d0de82fabc33 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 14 Oct 2026 16:38:37 +0000 Subject: [PATCH 2/3] docs: add missing C `@example` to `math/base/special/log2` Added an `@example` block to the `stdlib_base_log2` doc comment in `src/main.c`, mirroring the README C usage. Present in 374/376 (99.5%) native siblings. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PrXnrxd4fshM1EZC9BNFTJ --- lib/node_modules/@stdlib/math/base/special/log2/src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/node_modules/@stdlib/math/base/special/log2/src/main.c b/lib/node_modules/@stdlib/math/base/special/log2/src/main.c index 94a3a18f264c..19c7903aff94 100644 --- a/lib/node_modules/@stdlib/math/base/special/log2/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/log2/src/main.c @@ -48,6 +48,10 @@ static const int32_t HIGH_BIASED_EXP_0 = 0x3ff00000; * * @param x input value * @return output value +* +* @example +* double out = stdlib_base_log2( 4.0 ); +* // returns 2.0 */ double stdlib_base_log2( const double x ) { double valLo; From a0ac2ce5ca89f77095e68fa77d466b6bd7014299 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 14 Oct 2026 16:38:38 +0000 Subject: [PATCH 3/3] docs: add missing C `@example` to `math/base/special/sincosdf` Added an `@example` block to the `stdlib_base_sincosdf` doc comment in `src/main.c`, mirroring `sincosf` and `sincosd`. Present in 374/376 (99.5%) native siblings. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PrXnrxd4fshM1EZC9BNFTJ --- .../@stdlib/math/base/special/sincosdf/src/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/node_modules/@stdlib/math/base/special/sincosdf/src/main.c b/lib/node_modules/@stdlib/math/base/special/sincosdf/src/main.c index b9d65494fbff..034667b9b32f 100644 --- a/lib/node_modules/@stdlib/math/base/special/sincosdf/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/sincosdf/src/main.c @@ -26,6 +26,13 @@ * @param x input value (in degrees) * @param sine destination to store the sine * @param cosine destination to store the cosine +* +* @example +* float x = 0.0f; +* +* float cosine; +* float sine; +* stdlib_base_sincosdf( x, &sine, &cosine ); */ void stdlib_base_sincosdf( const float x, float* sine, float* cosine ) { *sine = stdlib_base_sindf( x );