.examples

git-svn-id: svn://ultimatepp.org/upp/trunk@11686 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-01-12 08:03:46 +00:00
parent 3fa3c5920d
commit 2d4c81cd99

View file

@ -75,6 +75,18 @@ double ExpressionEvaluator::Factor()
return acos(Factor());
if(p.Id("atan"))
return atan(Factor());
if(p.Id("sinh"))
return sinh(Factor());
if(p.Id("cosh"))
return cosh(Factor());
if(p.Id("tanh"))
return tanh(Factor());
if(p.Id("asinh"))
return asinh(Factor());
if(p.Id("acosh"))
return acosh(Factor());
if(p.Id("atanh"))
return atanh(Factor());
if(p.Id("x")) // our variable
return x;
if(p.Id("e")) // e constant