![]() | Syntax |
---|---|
UnaryArithmeticTermAST ::= BaseArithmeticTermAST | - BaseArithmeticTermAST | ! BaseArithmeticTermAST
A unary arithmetic term is composed of
base arithmetic terms with a
negation ( |
![]() | Semantics | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The evaluation of unary arithmetic terms are evaluated according to
Table 2.10, “Negation (
If any operation has an Table 2.11. Minus (
|
Remark. There is no implicit type casting on the input of the operands; conversion operators have to be used if casting is required.
Defined In: multiplicative arithmetic term