![]() | Description |
---|---|
A multiplicative arithmetic term is an ASM term constituted from applying the multiply, divide or remainder operators. |
![]() | Syntax |
---|---|
MultArithmeticTermAST ::= UnaryArithmeticTermAST | MultArithmeticTermAST * UnaryArithmeticTermAST | MultArithmeticTermAST / UnaryArithmeticTermAST | MultArithmeticTermAST % UnaryArithmeticTermAST
A multiplicative arithmetic term is composed of
unary arithmetic terms with a
multiply ( |
![]() | Semantics | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The evaluation of multiplicative arithmetic terms are evaluated according to
Table 2.8, “Multiply (
If any operation has an Table 2.8. Multiply (
Table 2.9. Remainder (
|
![]() | Warning |
---|---|
Note that the evaluation rules of arithmetic operators changed in the new release to be compliant with its use in Java. |
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: arithmetic term