:decimal_sign — swaps Decimal sign operations and constructor signs.
The family changes sign-oriented Decimal calls:
Decimal.abs(num) # -> Decimal.negate(num)
Decimal.negate(num) # -> Decimal.abs(num)It also flips literal signs in Decimal.new/3 constructors:
Decimal.new(1, coef, exp) # -> Decimal.new(-1, coef, exp)
Decimal.new(-1, coef, exp) # -> Decimal.new(1, coef, exp)
Summary
Functions
The target sign/function labels accepted by qualified mutare ignore directives.
Functions
@spec variants() :: [atom()]
The target sign/function labels accepted by qualified mutare ignore directives.