parameters: (self, context=None)
docstring: Returns an indication of the class of self.
  
          The class is one of the following strings:
            sNaN
            NaN
            -Infinity
            -Normal
            -Subnormal
            -Zero
            +Zero
            +Subnormal
            +Normal
            +Infinity
docstring_summary: Returns an indication of the class of self.
docstring_tokens: Returns an indication of the class of self .
function: def number_class(self, context=None):
          """Returns an indication of the class of self.
  
          The class is one of the following strings:
            sNaN
            NaN
            -Infinity
            -Normal
            -Subnormal
            -Zero
            +Zero
            +Subnormal
            +Normal
            +Infinity
          """
          if self.is_snan():
              return "sNaN"
          if self.is_qnan():
              return "NaN"
          inf = self._isinfinity()
          if inf == 1:
              return "+Infinity"
          if inf == -1:
              return "-Infinity"
          if self.is_zero():
              if self._sign:
                  return "-Zero"
              else:
                  return "+Zero"
          if context is None:
              context = getcontext()
          if self.is_subnormal(context=context):
              if self._sign:
                  return "-Subnormal"
              else:
                  return "+Subnormal"
          # just a normal, regular, boring number, :)
          if self._sign:
              return "-Normal"
          else:
              return "+Normal"
function_tokens: def number_class ( self , context = None ) : if self . is_snan ( ) : return "sNaN" if self . is_qnan ( ) : return "NaN" inf = self . _isinfinity ( ) if inf == 1 : return "+Infinity" if inf == - 1 : return "-Infinity" if self . is_zero ( ) : if self . _sign : return "-Zero" else : return "+Zero" if context is None : context = getcontext ( ) if self . is_subnormal ( context = context ) : if self . _sign : return "-Subnormal" else : return "+Subnormal" # just a normal, regular, boring number, :) if self . _sign : return "-Normal" else : return "+Normal"