Decimal.abs

typeof(this) abs(ref DecimalContext ctx) const @safe pure nothrow @nogc

The absolute value under an explicit context (decNumber abs): sign cleared for numbers and infinities; NaNs return with sign and payload untouched (signaling quieten with INVALID_OPERATION). No rounding — quantum preserved.