(self, round=True, context=None)
return ans
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().
Returns the absolute value of self.
Returns the absolute value of self .
def __abs__(self, round=True, context=None):
        """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().
        """
        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
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