(self)
return 0
Returns whether the number is infinite

        0 if finite or not a number
        1 if +INF
        -1 if -INF
Returns whether the number is infinite
Returns whether the number is infinite
def _isinfinity(self):
        """Returns whether the number is infinite

        0 if finite or not a number
        1 if +INF
        -1 if -INF
        """
        if self._exp == 'F':
            if self._sign:
                return -1
            return 1
        return 0
def _isinfinity ( self ) : if self . _exp == 'F' : if self . _sign : return - 1 return 1 return 0