class_docstr: To Complex, Real adds the operations that work on real numbers.
  
  In short, those are: a conversion to float, trunc(), divmod,
  %, <, <=, >, and >=.
  
  Real also provides defaults for the derived operations.
class_docstr_tok: ["To","Complex",",","Real","adds","the","operations","that","work","on","real","numbers",".","In","short",",","those","are",":","a","conversion","to","float",",","trunc","(",")",",","divmod",",","%",",","<",",","<","=",",",">",",","and",">","=",".","Real","also","provides","defaults","for","the","derived","operations","."]
docstr: trunc(self): Truncates self to an Integral.
  
  Returns an Integral i such that:
    * i>0 iff self>0;
    * abs(i) <= abs(self);
    * for any Integral j satisfying the first two conditions,
      abs(i) >= abs(j) [i.e. i has "maximal" abs among those].
  i.e. "truncate towards 0".
docstr_tok: ["trunc","(","self",")",":","Truncates","self","to","an","Integral",".","Returns","an","Integral","i","such","that",":","*","i",">","0","iff","self",">","0",";","*","abs","(","i",")","<","=","abs","(","self",")",";","*","for","any","Integral","j","satisfying","the","first","two","conditions",",","abs","(","i",")",">","=","abs","(","j",")","[","i.e",".","i","has","``","maximal","''","abs","among","those","]",".","i.e",".","``","truncate","towards","0","''","."]
code: def __trunc__(self):
      """trunc(self): Truncates self to an Integral.
  
      Returns an Integral i such that:
        * i>0 iff self>0;
        * abs(i) <= abs(self);
        * for any Integral j satisfying the first two conditions,
          abs(i) >= abs(j) [i.e. i has "maximal" abs among those].
      i.e. "truncate towards 0".
      """
      raise NotImplementedError
  
imports: from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 2 for calling the Real obj's underlying member method code with example usage: obj.__trunc__() without return types