
Section 5. Real-Time Tools
5.2.1.4.2 Order of Precedence
When processing mathematical expressions, the order of precedence is:
• Anything inside parentheses ( )
• Exponentiation ^
• Negation (unary) –
• Multiplication *, division /
• Modulo (remainder) MOD
• Addition +, subtraction –
When consecutive operators have the same priority, the expression evaluates
from left to right. This means that an expression such as a-b-c is evaluated as
(a-b)-c.
5.2.1.4.3 Predefined Constants
5.2.1.4.4 Predefined Time Constants
These predefined time constants can be useful as a parameter for the Functions
with State, where the interval parameter must be specified in nanoseconds.
Number of nanoseconds in a microsecond
Number of nanoseconds in a millisecond
Number of nanoseconds in a second
Number of nanoseconds in a minute
Number of nanoseconds in an hour
5-47
Comentarios a estos manuales