I18N-ISSUE-372: Arithmetic Right Shift [encoding]

I18N-ISSUE-372: Arithmetic Right Shift [encoding]


Raised by: Addison Phillips
On product: encoding


Comment from Martin Duerst:

This is a Last Call comment on 

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.

Received on Thursday, 10 July 2014 04:03:49 UTC