mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
.examples
git-svn-id: svn://ultimatepp.org/upp/trunk@11686 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3fa3c5920d
commit
2d4c81cd99
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue