safe-decimal v0.2.0 Release Notes

    • โž• Add Arith monad and corresponding functions.
    • ๐Ÿ‘‰ Make rounding dependent on precision type (extra type argument to the Round type class)
    • ๐Ÿ“‡ Rename RoundFloor to RoundDown (with Floor as synonym)
    • ๐Ÿ“‡ Rename Truncate to RoundToZero (with Truncate as synonym)
    • ๐Ÿ›  Fix conversion fromRational to throw Underflow instead of rounding. Without this fix there was unexpected behavior on negative numbers.
    • โž• Addition of scaleUp and scaleUpBounded
    • โž• Addition of toFixedDecimal, fromFixedDecimal and fromFixedDecimalBounded
    • Many function renames, just to make sure they all follow the same convention.
    • ๐Ÿ›  Fix RoundHalfUp algorithm
    • โž• Addition of RoundHalfDown and RoundHalfEven