Files
node/lib
sangwook f660943471 util: fix numericSeparator with negative fractional numbers
Fix util.inspect() formatting bug where negative fractional numbers
between -1 and 0 lost their minus sign when numericSeparator was true.
Fixed formatNumber function to preserve sign by using original string
representation. Also corrected test expectations for scientific notation
to not apply numeric separators.
Fixes: https://github.com/nodejs/node/issues/59376

PR-URL: https://github.com/nodejs/node/pull/59379
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-09-20 06:17:30 +00:00
..
…
2020-10-21 01:26:34 +02:00
2025-08-26 11:22:37 +02:00
2024-11-27 11:03:39 -05:00
2025-08-26 11:22:39 +02:00
2025-07-28 08:58:22 +02:00
2024-01-12 16:09:48 +00:00
2024-07-16 12:01:14 +02:00
2024-11-27 11:03:39 -05:00
2024-11-27 11:03:39 -05:00
2025-09-20 06:16:51 +00:00
2025-02-03 20:09:53 +01:00
2025-07-24 20:08:23 +02:00
2025-04-17 10:51:20 -03:00
2025-09-20 03:32:52 +00:00