From c0a852bcce39cc5c102abadf8ec19041de75a91b Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 00:11:49 +0000 Subject: [PATCH 1/2] docs: add missing `@private` tag in `number/float16/base/from-word` Adds the `@private` JSDoc tag to the native variant, matching the convention used by 6 of 7 (86%) sibling C-addon packages in `number/float16/base` whose `lib/native.js` marks the wrapped function as private (exponent, signbit, significand, to-float32, to-float64, to-word). --- .../@stdlib/number/float16/base/from-word/lib/native.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/number/float16/base/from-word/lib/native.js b/lib/node_modules/@stdlib/number/float16/base/from-word/lib/native.js index cbe6186883a0..58f57d7f0903 100644 --- a/lib/node_modules/@stdlib/number/float16/base/from-word/lib/native.js +++ b/lib/node_modules/@stdlib/number/float16/base/from-word/lib/native.js @@ -28,6 +28,7 @@ var addon = require( './../src/addon.node' ); /** * Creates a half-precision floating-point number from an unsigned integer corresponding to an IEEE 754 binary representation. * +* @private * @param {uinteger16} word - unsigned integer * @returns {number} half-precision floating-point number * From 45507fc1021015efa94548af98d278570bbbe888 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 00:11:55 +0000 Subject: [PATCH 2/2] docs: remove stray hyphen from `@returns` tag in `number/float16/base/signbit` Removes a spurious leading hyphen after the type in the native variant's `@returns` JSDoc tag. The corrected form (`@returns {type} description`) matches the package's own `lib/main.js` as well as 6 of 7 (86%) sibling `lib/native.js` files in the namespace; the hyphen prefix is reserved for `@param` tags by stdlib JSDoc convention. --- .../@stdlib/number/float16/base/signbit/lib/native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/number/float16/base/signbit/lib/native.js b/lib/node_modules/@stdlib/number/float16/base/signbit/lib/native.js index 53f7ec38ea65..fc1269c34cf3 100644 --- a/lib/node_modules/@stdlib/number/float16/base/signbit/lib/native.js +++ b/lib/node_modules/@stdlib/number/float16/base/signbit/lib/native.js @@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' ); * * @private * @param {number} x - input value -* @returns {boolean} - boolean indicating if sign bit is on or off +* @returns {boolean} boolean indicating if sign bit is on or off * * @example * var toFloat16 = require( '@stdlib/number/float64/base/to-float16' );