mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-06-12 16:27:23 +00:00
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
@ -38,7 +38,7 @@ void polynomial()
|
||||
exprtk::parser<T> parser;
|
||||
parser.compile(expression_string,expression);
|
||||
|
||||
const T delta = T(1/100.0);
|
||||
const T delta = T(1.0 / 100.0);
|
||||
for (x = r0; x <= r1; x += delta)
|
||||
{
|
||||
printf("%19.15f\t%19.15f\n",x,expression.value());
|
||||
|
Reference in New Issue
Block a user