{}

Nos marques

Bienvenue sur le site Web de Schneider Electric

Bienvenue sur notre site Web.
Consulter notre FAQ
What rounding method is used in the REAL_TO_INT results for M580 and Quantum?
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:
Mode11.512.5-11.5-12.5
to nearest, ties to even1212-12-12
to nearest, ties away from zero1213-12-13

These two methods can be found in the IEEE 754 (IEC 559).

Schneider Electric Belgium

En savoir plus
Gamme :
Articles utiles
En savoir plus
Gamme :