parameters: (self, a, b)
return_statement: return a.compare_signal(b, context=self)
docstring: Compares the values of the two operands numerically.
  
          It's pretty much like compare(), but all NaNs signal, with signaling
          NaNs taking precedence over quiet NaNs.
  
          >>> c = ExtendedContext
          >>> c.compare_signal(Decimal('2.1'), Decimal('3'))
          Decimal('-1')
          >>> c.compare_signal(Decimal('2.1'), Decimal('2.1'))
          Decimal('0')
          >>> c.flags[InvalidOperation] = 0
          >>> print c.flags[InvalidOperation]
          0
          >>> c.compare_signal(Decimal('NaN'), Decimal('2.1'))
          Decimal('NaN')
          >>> print c.flags[InvalidOperation]
          1
          >>> c.flags[InvalidOperation] = 0
          >>> print c.flags[InvalidOperation]
          0
          >>> c.compare_signal(Decimal('sNaN'), Decimal('2.1'))
          Decimal('NaN')
          >>> print c.flags[InvalidOperation]
          1
          >>> c.compare_signal(-1, 2)
          Decimal('-1')
          >>> c.compare_signal(Decimal(-1), 2)
          Decimal('-1')
          >>> c.compare_signal(-1, Decimal(2))
          Decimal('-1')
docstring_summary: Compares the values of the two operands numerically.
docstring_tokens: Compares the values of the two operands numerically .
function: def compare_signal(self, a, b):
          """Compares the values of the two operands numerically.
  
          It's pretty much like compare(), but all NaNs signal, with signaling
          NaNs taking precedence over quiet NaNs.
  
          >>> c = ExtendedContext
          >>> c.compare_signal(Decimal('2.1'), Decimal('3'))
          Decimal('-1')
          >>> c.compare_signal(Decimal('2.1'), Decimal('2.1'))
          Decimal('0')
          >>> c.flags[InvalidOperation] = 0
          >>> print c.flags[InvalidOperation]
          0
          >>> c.compare_signal(Decimal('NaN'), Decimal('2.1'))
          Decimal('NaN')
          >>> print c.flags[InvalidOperation]
          1
          >>> c.flags[InvalidOperation] = 0
          >>> print c.flags[InvalidOperation]
          0
          >>> c.compare_signal(Decimal('sNaN'), Decimal('2.1'))
          Decimal('NaN')
          >>> print c.flags[InvalidOperation]
          1
          >>> c.compare_signal(-1, 2)
          Decimal('-1')
          >>> c.compare_signal(Decimal(-1), 2)
          Decimal('-1')
          >>> c.compare_signal(-1, Decimal(2))
          Decimal('-1')
          """
          a = _convert_other(a, raiseit=True)
          return a.compare_signal(b, context=self)
function_tokens: def compare_signal ( self , a , b ) : a = _convert_other ( a , raiseit = True ) return a . compare_signal ( b , context = self )