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

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

http://www.w3.org/International/track/issues/372

Raised by: Addison Phillips
On product: encoding

http://lists.w3.org/Archives/Public/www-international/2014JulSep/0027.html

Comment from Martin Duerst:

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.

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