mirror of
https://github.com/louisrubet/rpn
synced 2024-11-17 07:47:50 +01:00
#76: added command chs
This commit is contained in:
parent
341b0d94c1
commit
e34a3de33d
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ program::keyword_t program::s_keywords[] =
|
||||||
{ cmd_undef, "", NULL, "\nREAL"},
|
{ cmd_undef, "", NULL, "\nREAL"},
|
||||||
{ cmd_keyword, "+", &program::plus, "addition" },
|
{ cmd_keyword, "+", &program::plus, "addition" },
|
||||||
{ cmd_keyword, "-", &program::minus, "substraction" },
|
{ cmd_keyword, "-", &program::minus, "substraction" },
|
||||||
{ cmd_keyword, "neg", &program::neg , "negation" },
|
{ cmd_keyword, "chs", &program::neg , "(or neg) negation" },
|
||||||
|
{ cmd_keyword, "neg", &program::neg , "" },
|
||||||
{ cmd_keyword, "*", &program::mul, "multiplication" },
|
{ cmd_keyword, "*", &program::mul, "multiplication" },
|
||||||
{ cmd_keyword, "/", &program::div, "division" },
|
{ cmd_keyword, "/", &program::div, "division" },
|
||||||
{ cmd_keyword, "inv", &program::inv, "inverse" },
|
{ cmd_keyword, "inv", &program::inv, "inverse" },
|
||||||
|
|
Loading…
Reference in a new issue