You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The decimal type has a much larger and smaller range than integer and long. Ceiling and Floor both convert Decimal to Integer, which results in loss of precision.
It's not stipulated in the spec that Ceiling(3147483647.05) should result in null, but that is probably the specified behavior.
We should write some tests asserting this behavior.
The text was updated successfully, but these errors were encountered:
The decimal type has a much larger and smaller range than integer and long.
Ceiling
andFloor
both convertDecimal
toInteger
, which results in loss of precision.It's not stipulated in the spec that
Ceiling(3147483647.05)
should result innull
, but that is probably the specified behavior.We should write some tests asserting this behavior.
The text was updated successfully, but these errors were encountered: