From abd009f18e1562ee9946c662d8c9cea3567a4ca7 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 4 Aug 2026 04:27:00 +0000 Subject: [PATCH] docs: add asm type annotation to `constants/float32/num-significand-bits` Adds the `// asm type annotation` trailing comment on the `|0` coercion in `lib/index.js`, matching the convention used by 90% (18/20) of the `|0`-idiom packages in `constants/float32`. `num-significand-bits` was the sole package applying the `|0` asm.js coercion without the annotation comment. The change is comment-only and does not affect the exported value, observable behavior, or test expectations. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01J4c2XThBy9A3uLkcBot3yp --- .../@stdlib/constants/float32/num-significand-bits/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/constants/float32/num-significand-bits/lib/index.js b/lib/node_modules/@stdlib/constants/float32/num-significand-bits/lib/index.js index 53add0202c61..300b76bf22df 100644 --- a/lib/node_modules/@stdlib/constants/float32/num-significand-bits/lib/index.js +++ b/lib/node_modules/@stdlib/constants/float32/num-significand-bits/lib/index.js @@ -39,7 +39,7 @@ * @type {integer32} * @default 23 */ -var FLOAT32_NUM_SIGNIFICAND_BITS = 23|0; +var FLOAT32_NUM_SIGNIFICAND_BITS = 23|0; // asm type annotation // EXPORTS //