Description[csa] Fix CSA::ToUint32 rounding for negative HeapNumbers
The spec requires truncation while ToUint32 originally rounded down.
This also adds a bunch of test cases to check edge case behavior.
BUG=v8:6212
Review-Url: https://codereview.chromium.org/2805783003
Cr-Commit-Position: refs/heads/master@{#44487}
Committed: https://chromium.googlesource.com/v8/v8/+/52a53da5a4ee252ce47b9c396047610901a446cf
Patch Set 1 #Patch Set 2 : Comment formatting #Patch Set 3 : Fix Smi::IsValid test #
Messages
Total messages: 18 (14 generated)
|