:decimal_zero_boundary — makes Decimal sign predicates inclusive of zero.
The family broadens strict sign classification around zero:
Decimal.positive?(num) # -> Decimal.gte?(num, 0)
Decimal.negative?(num) # -> Decimal.lte?(num, 0)Piped calls keep the zero operand visible in the pipe stage:
num |> Decimal.positive?() # -> num |> Decimal.gte?(0)
Summary
Functions
The inclusive-comparison labels accepted by qualified mutare ignore directives.
Functions
@spec variants() :: [atom()]
The inclusive-comparison labels accepted by qualified mutare ignore directives.