Re: [SMIL30 LC comment] rounding in 17.4.4 and 19.4.4

 Dear Dr. Olaf Hoffmann ,

The SYMM Working Group has reviewed the comments you sent [1] on the Last
Call Working Draft [2] of the Synchronized Multimedia Integration Language
(SMIL 3.0) published on 13 Jul 2007. Thank you for having taken the time to
review the document and to send us comments!

The Working Group's response to your comment is included below.

Please review it carefully and let us know by email at www-smil@w3.org if
you agree with it or not before 02 nov 2007. In case of disagreement, you
are requested to provide a specific solution for or a path to a consensus
with the Working Group. If such a consensus cannot be achieved, you will
be given the opportunity to raise a formal objection which will then be
reviewed by the Director during the transition of this document to the
next stage in the W3C Recommendation Track.

Thanks,

For the SYMM Working Group,
Thierry Michel
W3C Staff Contact

 1. http://www.w3.org/mid/200708101159.48572.Dr.O.Hoffmann@gmx.de
 2. http://www.w3.org/TR/2007/WD-SMIL3-20070713/


=====

Your comment on 17.4.4 Animation Module:
> Hello SMIL working group,
> 
> this does not look like an accurate method to round:
> 
> 'The mathematical definition of rounding is:
> coerced-integer-value = Math.floor( interpolated-value + 0.5 )'
> 
> -> There are different mathematical definitions for rounding.
> This is a biased rounding because number=integer+0.5 is always
> rounded up (for other cases the rounding definitions are the
> same). This is not an accurate rounding method.
> This means, over a larger number of rounding the average 
> rounding error is not zero.
> For an unbiased rounding, for example for even
> integers number is rounded down, for odd up...
> 
> example:
> value, top eq. 'rounding' , unbiased rounding (round to even)
> 0.5	1	0
> 1.5	2	2
> 2.5	3	2
> 3.5	4	4
> 4.5	5	4
> 5.5	6	6
> 6.5	7	6
> 7.5	8	8
> 8.5	9	8
> 9.5	10     10
> 
> average
> 
> 5	5.5	5
> 
> 
> I would like to suggest to use the unbiased or
> 'round to even' method ...


Working Group Resolution:
The workgroup had decided to remove the offending sentence.  This means
that it is now up to the implementer to come up with the best way to
"round to the nearest integer".  Implementations may choose to follow the
rule that was now removed, or to round to an even integer, if the value is
exactly halfway.

----

Received on Tuesday, 23 October 2007 09:08:28 UTC