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

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