C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html

This commit is contained in:
Arash Partow
2014-03-22 00:56:37 +11:00
parent 904e74b939
commit 77897604bc
4 changed files with 140 additions and 114 deletions

View File

@ -41,9 +41,9 @@ void primes()
//Mode 1 - if statement based
compositor
.add("is_prime_impl1",
"if(y == 1,true, "
" if(0 == (x % y),false, "
" is_prime_impl1(x,y-1)))",
"if(y == 1,true, "
" if(0 == (x % y),false, "
" is_prime_impl1(x,y - 1)))",
"x","y");
compositor