What rounding method is used in the REAL_TO_INT results for M580 and Quantum?
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).
Gepubliceerd voor: Schneider Electric Belgium




Hulp nodig?
Selecteer zelf het juiste product
Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.
Offerte aanvragen
Dien uw aanvraag online in en een expert zal contact met u opnemen.
Verkooppunten
Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.
Help Center
Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.