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.