W3C home > Mailing lists > Public > www-international@w3.org > January to March 2014

[Bug 24198] The Encoding Standard should use bitwise operations instead of multiplication, division and exponentiation when natural

From: <bugzilla@jessica.w3.org>
Date: Sat, 04 Jan 2014 00:41:32 +0000
To: www-international@w3.org
Message-ID: <bug-24198-4285-T4osgw2gxT@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24198

John Cowan <cowan@ccil.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cowan@ccil.org

--- Comment #2 from John Cowan <cowan@ccil.org> ---
It's important to remember that division is not the same thing as right
shifting, particularly in C/C++, where the effect of right-shifting a negative
number is undefined.  This matters because C/C++ is still the usual
implementation language for browsers.  So it's safe to change multiplications
to left shifts, but any divisions must be carefully scrutinized.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 4 January 2014 00:41:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:36 UTC