parameters: (self, a, b)
return_statement: return a.same_quantum(b)
docstring: Returns True if the two operands have the same exponent.
  
          The result is never affected by either the sign or the coefficient of
          either operand.
  
          >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.001'))
          False
          >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.01'))
          True
          >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('1'))
          False
          >>> ExtendedContext.same_quantum(Decimal('Inf'), Decimal('-Inf'))
          True
          >>> ExtendedContext.same_quantum(10000, -1)
          True
          >>> ExtendedContext.same_quantum(Decimal(10000), -1)
          True
          >>> ExtendedContext.same_quantum(10000, Decimal(-1))
          True
docstring_summary: Returns True if the two operands have the same exponent.
docstring_tokens: Returns True if the two operands have the same exponent .
function: def same_quantum(self, a, b):
          """Returns True if the two operands have the same exponent.
  
          The result is never affected by either the sign or the coefficient of
          either operand.
  
          >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.001'))
          False
          >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('0.01'))
          True
          >>> ExtendedContext.same_quantum(Decimal('2.17'), Decimal('1'))
          False
          >>> ExtendedContext.same_quantum(Decimal('Inf'), Decimal('-Inf'))
          True
          >>> ExtendedContext.same_quantum(10000, -1)
          True
          >>> ExtendedContext.same_quantum(Decimal(10000), -1)
          True
          >>> ExtendedContext.same_quantum(10000, Decimal(-1))
          True
          """
          a = _convert_other(a, raiseit=True)
          return a.same_quantum(b)
function_tokens: def same_quantum ( self , a , b ) : a = _convert_other ( a , raiseit = True ) return a . same_quantum ( b )