From 9e40ae938670363f277867716f62ddda9f11cdc4 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 9 Oct 2026 12:40:06 +0000 Subject: [PATCH 1/3] docs: add JSDoc examples to `math/base/special/erfinvf` native wrapper Added missing `@example` blocks to `lib/native.js`, mirroring `lib/main.js` (present in 375 of 376 native `lib/native.js` files in `math/base/special`; 99.7%). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E6E4g9jgiqjd2XenrYCtu8 --- .../math/base/special/erfinvf/lib/native.js | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js index 7ca31479c772..943b94b5cf84 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/special/erfinvf/lib/native.js @@ -31,6 +31,34 @@ var addon = require( './../src/addon.node' ); * @private * @param {number} x - input value * @returns {number} function value +* +* @example +* var y = erfinvf( 0.5 ); +* // returns ~0.4769 +* +* @example +* var y = erfinvf( 0.8 ); +* // returns ~0.9062 +* +* @example +* var y = erfinvf( 0.0 ); +* // returns 0.0 +* +* @example +* var y = erfinvf( -0.0 ); +* // returns -0.0 +* +* @example +* var y = erfinvf( -1.0 ); +* // returns -Infinity +* +* @example +* var y = erfinvf( 1.0 ); +* // returns Infinity +* +* @example +* var y = erfinvf( NaN ); +* // returns NaN */ function erfinvf( x ) { return addon( x ); From 1cd85b98cb6b38eff664cfa3b8da9a0c270acaeb Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 9 Oct 2026 12:40:06 +0000 Subject: [PATCH 2/3] style: add missing spaces in `math/base/special/acsc` native benchmark Normalized `( acsc instanceof Error )` parenthesis spacing in `benchmark/benchmark.native.js` (spaced form used in 375 of 376 native benchmarks in `math/base/special`; the unspaced form is the only occurrence in stdlib). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E6E4g9jgiqjd2XenrYCtu8 --- .../math/base/special/acsc/benchmark/benchmark.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/acsc/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/acsc/benchmark/benchmark.native.js index 5091392a2d4b..533254ce629c 100644 --- a/lib/node_modules/@stdlib/math/base/special/acsc/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/acsc/benchmark/benchmark.native.js @@ -33,7 +33,7 @@ var pkg = require( './../package.json' ).name; var acsc = tryRequire( resolve( __dirname, './../lib/native.js' ) ); var opts = { - 'skip': (acsc instanceof Error) + 'skip': ( acsc instanceof Error ) }; From f596b9a2c323e0fe128367a4e96f466781289397 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 9 Oct 2026 12:40:07 +0000 Subject: [PATCH 3/3] style: add missing space in `math/base/special/erfcx` native tests Normalized `resolve( __dirname, ... )` parenthesis spacing in `test/test.native.js` (spaced form used in 375 of 376 native test files in `math/base/special`; the unspaced form is the only occurrence in stdlib). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E6E4g9jgiqjd2XenrYCtu8 --- .../@stdlib/math/base/special/erfcx/test/test.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/erfcx/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/erfcx/test/test.native.js index 2da9e281ce41..3e1488a95b1d 100644 --- a/lib/node_modules/@stdlib/math/base/special/erfcx/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/erfcx/test/test.native.js @@ -41,7 +41,7 @@ var tiny = require( './fixtures/tiny.json' ); // VARIABLES // var INV_SQRT_PI = 0.56418958354775628694807945156; // 1 / sqrt(pi) -var erfcx = tryRequire( resolve(__dirname, './../lib/native.js' ) ); +var erfcx = tryRequire( resolve( __dirname, './../lib/native.js' ) ); var opts = { 'skip': ( erfcx instanceof Error ) };