W3C home > Mailing lists > Public > public-i18n-core@w3.org > July to September 2014

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

From: Internationalization Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Thu, 10 Jul 2014 04:03:48 +0000
Message-Id: <E1X55aG-00014J-Gf@stuart.w3.org>
To: public-i18n-core@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:23:09 UTC