'Returns whether the number is infinite
0 if finite or not a number
1 if +INF
-1 if -INF'

def _isinfinity(self):

    if (self._exp == 'F'):
        if self._sign:
            return (-1)
        return 1
    return 0
