ladybird/Tests/LibJS
Andreas Kling 8b5d46d65b LibJS: Round toFixed digits exactly
Number.prototype.toFixed was using generic fixed-format double printing
after the spec steps. That loses the exact binary64 value for large
fractionDigits, so high precision output rounded from a nearby decimal.

Compute the scaled integer n with BigInteger arithmetic from the exact
binary decomposition of the double, then format that integer according
to the toFixed placement rules. Add coverage for high precision
fractional values and the signed Number.MIN_VALUE case.
2026-05-22 01:56:57 +02:00
..
AST LibJS: Fix destructured primitive string const loops 2026-05-22 01:56:57 +02:00
Bytecode LibJS: Yield delegated iterator results directly 2026-05-22 01:56:57 +02:00
Runtime LibJS: Round toFixed digits exactly 2026-05-22 01:56:57 +02:00
CMakeLists.txt LibJS: Materialize decoded bytecode cache blobs 2026-05-06 08:20:06 +02:00
test-bytecode-cache.cpp LibJS: Lazily map UTF-8 source offsets 2026-05-19 17:58:08 +02:00
test-js-ast.py LibJS: Support .mjs files in test-js-ast and test-js-bytecode 2026-02-19 12:02:50 +01:00
test-js-bytecode.py LibJS: Support .mjs files in test-js-ast and test-js-bytecode 2026-02-19 12:02:50 +01:00
test-js.cpp LibJS: Cache entry modules before loading imports 2026-05-22 01:56:57 +02:00
test-primitive-string.cpp LibJS: Avoid ropes for short flat string concatenations 2026-04-30 16:25:52 +02:00
test-value-js.cpp LibJS: Make Value() default-construct the undefined value 2025-04-05 11:20:26 +02:00