Denso RC5 Specifications Page 175

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 174
Chapter 7 PAC Language Configuration Elements
7-17
Note (3): An error occurs if a digit overflow occurs in addition or
multiplication of real or if an attempt is made to assign a
value that cannot be recorded with an integer type variable
from the real type variable.
Note (4): In subtraction among integers, the result is rounded off to
the maximum integer which does not exceed the result.
Note (5): The sign of an integer remainder is decided as given in
below Table .
Arithmetic Operators
Divisor
Dividend
+0-
+ + Error +
0 0 Error 0
- - Error +
7.9.3 Relational Operator
A relational operator is used to compare two numeric values. The result is
obtained with a Boolean value (True “1” and False “0”), and is used in a
conditional expression in the flow control statement for example.
Relational Operators
Relational operator Operation description
= Equal to
=. Nearly equal (Approximation comparison)
<> Not equal to
< Less than
> Greater than
<= Less than or equal to
>= Greater than or equal to
Remark: For comparison precision of the approximation comparison
operator (=.), you can set with “Approximation comparison
precision” of the program table in [Project Set] of [File] in
[PAC manager].
Page view 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 691 692

Comments to this Manuals

No comments