If you compare the REAL_TO_INT with an M580 and Quantum, you will see some differences.
For example:
Quantum 2.5 = 2
M580 2.5 = 3
The M580 uses the method called "round to nearest, ties away from zero".
The Quantum uses the method called "round to nearest, ties to even" (as described in ControlExpert help).
The following table shows an example:
These two methods can be found in the IEEE 754 (IEC 559).
For example:
Quantum 2.5 = 2
M580 2.5 = 3
The M580 uses the method called "round to nearest, ties away from zero".
The Quantum uses the method called "round to nearest, ties to even" (as described in ControlExpert help).
The following table shows an example:
Mode | 11.5 | 12.5 | -11.5 | -12.5 |
to nearest, ties to even | 12 | 12 | -12 | -12 |
to nearest, ties away from zero | 12 | 13 | -12 | -13 |
These two methods can be found in the IEEE 754 (IEC 559).
Publié pour: Schneider Electric Belgium




Besoin d'aide ?
Sélectionnez le bon produit
Trouvez rapidement et facilement les produits et accessoires adaptés à vos applications.
Obtenir un devis
Effectuez une demande de renseignements en ligne et un expert vous contactera.
Où acheter ?
Trouvez facilement le distributeur Schneider Electric local le plus proche.
Centre d'aide
Trouvez des ressources de support pour tous vos besoins, en un seul endroit.