Changelog for safe-decimal-0.2.1.0
Changelog for safe-decimal
0.2.1
- Add
arithError - Add
RoundHalfToZeroandRoundHalfFromZerorounding strategies. - Conversion from
Scientificnormalizes the input and is more resilient to unbounded computation for boundedDecimalresult.
0.2.0
- Add
Arithmonad and corresponding functions. - Make rounding dependent on precision type (extra type argument to the
Roundtype class) - Rename
RoundFloortoRoundDown(withFlooras synonym) - Rename
TruncatetoRoundToZero(withTruncateas synonym) - Fix conversion
fromRationalto throwUnderflowinstead of rounding. Without this fix there was unexpected behavior on negative numbers. - Addition of
scaleUpandscaleUpBounded - Addition of
toFixedDecimal,fromFixedDecimalandfromFixedDecimalBounded - Many function renames, just to make sure they all follow the same convention.
- Fix
RoundHalfUpalgorithm - Addition of
RoundHalfDownandRoundHalfEven
0.1.0
Initial release