def METHOD_NAME(self,var,out_type = "float"):
    idx = len(self.stmts)
    res_name  = "_auto_res_%04d" % idx
    stmt = "%s %s = %s;" % (out_type,res_name,var)
    self.stmts.append(stmt)
    return (res_name,None)