[encoding] Last Call Comment: Arithmetic Right Shift

This is a Last Call comment on 
http://www.w3.org/TR/2014/WD-encoding-20140603/.

Looking at the explanation about Arithmetic Shifts at 
https://en.wikipedia.org/wiki/Arithmetic_shift, the exact effect of 
Arithmetic Right Shifts depends on the size of the data type.

I have not found any indication in the spec about the (minimal) size of 
the data type needed for the calculations to work correctly (sorry if I 
missed it). This could be 16 bits, or 32 bits, or potentially even more 
(e.g. for GB-18030).

It would be highly desirable to indicate the minimum necessary width of 
the data type needed for correct operation.

Regards,   Martin.

Received on Wednesday, 2 July 2014 11:16:04 UTC