Open SteveLLamb opened 4 years ago
4.3 | Ref 5 | ed | The fragment “…, i.e. it rounds up fractions above 0.5.” is strangely clipped. There is the quote from SMPTE EG 432-1 page 8 in the right cell that correctly defines the INT operator. The same definition is in SMPTE RP 431-2 2011. | Replace with: “…, i.e. it rounds down fractions less than 0.5 and rounds |
---|
Overly pedantic fact: in ISO 80000-2 2-9.19, "int a" is defined as "integer part of the real number a." That conflicts with the "INT" defined in this standard.
ISO does not define a ROUND operator. As long as the operator is clearly defined as different in its use, I do not think a mistake with ISO could be made. An easy change would be to change the Operator Name to not conflict with ISO, but this equation is frequently referenced, and a change suggests the math is changed which would not be the case. I would suggest leaving alone.
To satisfy the comment, the DG recommends 2/6/20 to copy the definition from RP431-2: The INT operator returns the value of 0 for fractional parts in the range of 0 to 0.4999... and +1 for fractional parts in the range 0.5 to 0.9999..., i.e. it rounds down fractions less than 0.5 and rounds up fractions at or above 0.5.