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
Decimal.new/2 now accepts an optional opts keyword list and
forwards it to Decimal.parse/2, allowing callers to override :max_digits and :max_exponent when constructing a decimal from
a string.
Bug fixes
Fix infinite loop in Decimal.to_integer/1 when the coefficient is
zero and the exponent is negative (e.g. Decimal.new("0.0")). Such
values now correctly convert to the integer 0.