:decimal_classification — swaps same-arity Decimal classification predicates.
The family keeps the original argument and swaps between related boolean predicates:
Decimal.positive?(num) # -> Decimal.negative?(num)
Decimal.negative?(num) # -> Decimal.positive?(num)
Decimal.nan?(num) # -> Decimal.inf?(num)
Decimal.inf?(num) # -> Decimal.nan?(num)It supports qualified, aliased, imported, and piped Decimal calls.
Summary
Functions
The target-predicate labels accepted by qualified mutare ignore directives.
Functions
@spec variants() :: [atom()]
The target-predicate labels accepted by qualified mutare ignore directives.