Denso RC5 Spécifications Page 175

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 692
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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].
Vue de la page 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 691 692

Commentaires sur ces manuels

Pas de commentaire