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. |
||
|---|---|---|
| .. | ||
| animation | ||
| parsing | ||
| transform-hit-testing.txt | ||