commit | f0e0935968490e5d5dabdea13f252be3fc4221c0 | [log] [tgz] |
---|---|---|
author | sigbjornf@opera.com <sigbjornf@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Mon Nov 18 12:50:54 2013 |
committer | sigbjornf@opera.com <sigbjornf@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Mon Nov 18 12:50:54 2013 |
tree | 52d23f604f5024739562bf451a61de8332ada4b1 | |
parent | ad28028361f3d3a0bc02f37cebdac061a8a4f354 [diff] |
Fix 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 Review URL: https://codereview.chromium.org/59603006 git-svn-id: svn://svn.chromium.org/blink/trunk@162197 bbb929c8-8fbe-4397-9dbb-9b2b20218538