'Returns the absolute value of self.
If the keyword argument \'round\' is false, do not round.  The
expression self.__abs__(round=False) is equivalent to
self.copy_abs().'

def __abs__(self, round=True, context=None):

    if (not round):
        return self.copy_abs()
    if self._is_special:
        ans = self._check_nans(context=context)
        if ans:
            return ans
    if self._sign:
        ans = self.__neg__(context=context)
    else:
        ans = self.__pos__(context=context)
    return ans
