abs method
Returns the absolute value of this value. Special cases:
- If this value is NaN, it is returned.
@return the absolute value of this value
Implementation
DD abs() {
if (isNaN()) return NaN;
if (isNegative()) return negate();
return new DD.fromDD(this);
}