// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/exprtk_test.cpp
// Function: bool run_test11<double>()
bool run_test11()
{
   typedef exprtk::expression<T> expression_t;

   std::string expression_string = "(x + y) / 3";

   T x = T(1.0);
   T y = T(2.0);

   exprtk::symbol_table<T> symbol_table;
   symbol_table.add_variable("x",x);
   symbol_table.add_variable("y",y);

   expression_t expression;
   expression.register_symbol_table(symbol_table);

   static const std::size_t rounds = 500;

   for (std::size_t i = 0; i < rounds; ++i)
   {
      {
         exprtk::parser<T> parser;

         if (!parser.compile(expression_string,expression))
         {
            printf("run_test11() - Error: %s   Expression: %s\n",
                   parser.error().c_str(),
                   expression_string.c_str());

            return false;
         }
      }

      if (not_equal(expression.value(),(x + y) / T(3),T(0.000001)))
      {
         printf("run_test11() - Error in evaluation!(1)\n");
         return false;
      }

      expression.release();

      if (false == (!expression))
      {
         printf("run_test11() - Error in evaluation!(2)\n");
         return false;
      }

      {
         exprtk::parser<T> parser;

         if (!parser.compile(expression_string,expression))
         {
            printf("run_test11() - Error: %s   Expression: %s\n",
                   parser.error().c_str(),
                   expression_string.c_str());

            return false;
         }
      }

      expression.value();

      if (not_equal(expression.value(),(x + y) / T(3),T(0.000001)))
      {
         printf("run_test11() - Error in evaluation!(3)\n");
         return false;
      }
   }

   return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xad8, %rsp            # imm = 0xAD8
leaq 0x180f9b(%rip), %rsi    # 0x2f2ae6
leaq 0x40(%rsp), %rdi
leaq 0x1b0(%rsp), %rdx
callq 0x127016
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x18(%rsp)
movabsq $0x4000000000000000, %rax # imm = 0x4000000000000000
movq %rax, 0x10(%rsp)
movq %rsp, %rdi
pushq $0x1
popq %rsi
callq 0x19486e
leaq 0x190718(%rip), %rsi    # 0x3022a5
leaq 0x1b0(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x127016
movq %rsp, %rdi
leaq 0x1b0(%rsp), %rsi
leaq 0x18(%rsp), %rdx
xorl %ecx, %ecx
callq 0x19666e
leaq 0x1b0(%rsp), %rdi
callq 0x118648
leaq 0x17c37b(%rip), %rsi    # 0x2edf45
leaq 0x1b0(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x127016
movq %rsp, %rdi
leaq 0x1b0(%rsp), %rsi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x19666e
leaq 0x1b0(%rsp), %rdi
callq 0x118648
leaq 0x20(%rsp), %rdi
callq 0x194918
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x194978
xorl %ecx, %ecx
leaq 0x60(%rsp), %rbx
pushq $0x7f
popq %r14
leaq 0x1b0(%rsp), %r15
leaq 0x40(%rsp), %r12
leaq 0x20(%rsp), %r13
movq %rcx, %rbp
cmpq $0x1f4, %rcx            # imm = 0x1F4
je 0x171e14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1949d4
movq %r15, %rdi
movq %rbx, %rsi
callq 0x194ae4
movq %rbx, %rdi
callq 0x1950fc
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x195144
testb %al, %al
je 0x171da7
movq %r15, %rdi
callq 0x19561a
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movsd 0x18(%rsp), %xmm1
addsd 0x10(%rsp), %xmm1
movsd %xmm0, 0x1b0(%rsp)
divsd 0x15c534(%rip), %xmm1   # 0x2ce1e0
movsd %xmm1, 0x60(%rsp)
movabsq $0x3eb0c6f7a0b5ed8d, %rax # imm = 0x3EB0C6F7A0B5ED8D
movq %rax, 0x8(%rsp)
movq %r15, %rdi
movq %rbx, %rsi
leaq 0x8(%rsp), %rdx
callq 0x2ba163
testb %al, %al
jne 0x171dbb
movq %r13, %rdi
callq 0x2bd1e2
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x171cf6
cmpq $0x0, 0x8(%rax)
jne 0x171e08
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1949d4
movq %r15, %rdi
movq %rbx, %rsi
callq 0x194ae4
movq %rbx, %rdi
callq 0x1950fc
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x195144
testb %al, %al
je 0x171dc4
movq %r15, %rdi
callq 0x19561a
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movsd 0x18(%rsp), %xmm1
addsd 0x10(%rsp), %xmm1
movsd %xmm0, 0x1b0(%rsp)
divsd 0x15c473(%rip), %xmm1   # 0x2ce1e0
movsd %xmm1, 0x60(%rsp)
movabsq $0x3eb0c6f7a0b5ed8d, %rax # imm = 0x3EB0C6F7A0B5ED8D
movq %rax, 0x8(%rsp)
movq %r15, %rdi
movq %rbx, %rsi
leaq 0x8(%rsp), %rdx
callq 0x2ba163
leaq 0x1(%rbp), %rcx
testb %al, %al
je 0x171c34
leaq 0x199d14(%rip), %rdi    # 0x30bab9
jmp 0x171e0f
leaq 0x60(%rsp), %rdi
leaq 0x1b0(%rsp), %rsi
callq 0x1955c6
jmp 0x171dd6
leaq 0x199d45(%rip), %rdi    # 0x30bb07
jmp 0x171e0f
leaq 0x60(%rsp), %rdi
leaq 0x1b0(%rsp), %rsi
callq 0x1955c6
leaq 0x60(%rsp), %rbx
movq (%rbx), %rsi
movq 0x40(%rsp), %rdx
leaq 0x180d08(%rip), %rdi    # 0x2f2af2
xorl %eax, %eax
callq 0x118080
movq %rbx, %rdi
callq 0x118648
leaq 0x1b0(%rsp), %rdi
callq 0x19561a
jmp 0x171e14
leaq 0x199cd1(%rip), %rdi    # 0x30bae0
callq 0x118550
cmpq $0x1f4, %rbp            # imm = 0x1F4
setae %bl
leaq 0x20(%rsp), %rdi
callq 0x19577a
movq %rsp, %rdi
callq 0x195790
leaq 0x40(%rsp), %rdi
callq 0x118648
movl %ebx, %eax
addq $0xad8, %rsp            # imm = 0xAD8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x171e80
jmp 0x171e80
jmp 0x171ea3
jmp 0x171e6c
jmp 0x171e5a
jmp 0x171e6c
movq %rax, %rbx
leaq 0x1b0(%rsp), %rdi
callq 0x118648
jmp 0x171eb0
movq %rax, %rbx
jmp 0x171eb0
movq %rax, %rbx
jmp 0x171eb8
jmp 0x171ea3
jmp 0x171e80
jmp 0x171e92
jmp 0x171ea3
jmp 0x171ea3
movq %rax, %rbx
leaq 0x1b0(%rsp), %rdi
callq 0x19561a
jmp 0x171ea6
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x1950fc
jmp 0x171ea6
jmp 0x171ea3
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x19577a
movq %rsp, %rdi
callq 0x195790
leaq 0x40(%rsp), %rdi
callq 0x118648
movq %rbx, %rdi
callq 0x118360