'Return True if self and other have the same exponent; otherwise
return False.
If either operand is a special value, the following rules are used:
* return True if both operands are infinities
* return True if both operands are NaNs
* otherwise, return False.'

def same_quantum(self, other, context=None):

    other = _convert_other(other, raiseit=True)
    if (self._is_special or other._is_special):
        return ((self.is_nan() and other.is_nan()) or (self.is_infinite() and other.is_infinite()))
    return (self._exp == other._exp)
