Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial: Address too-large Duration values resulting from FP rounding
There was an edge case, spotted by Anba, where floating-point rounding at the point of conversion from normalized form to Duration storage form, in BalanceTimeDuration, can result in a Duration storage form that fails assertions. For example, when a normalized time duration is the maximum possible value { [[TotalNanoseconds]]: 9007199254740991999999999 }, and BalanceTimeDuration is called with largestUnit nanoseconds. This is already covered by test262 tests. Closes: #2785
- Loading branch information