DescriptionFix Decimal.floor() + Decimal.ceiling() for many non-integral values.
Extend the check for an integral value to consider all the digits
being truncated, and not just the rightmost/most-significant one, when
rounding the result towards positive and negative infinity for floor()
and ceiling(), respectively.
R=yosin,mkwst
BUG=234323
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162197
Patch Set 1 #
Total comments: 7
Patch Set 2 : Express integral check via is-power-of-10 predicate instead #
Messages
Total messages: 7 (0 generated)
|