[Bug 25387] BigInteger

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25387

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
Anne, I don't think this is defining a view.  What this is saying is that the
Uint8Array holds the bytes that represent an integer, in big-endian order.

So for example, the representation of 5 million would be a Uint32Array of
length three, containing the values 76, 227, 215, since 76*255^2 + 227*255 +
215 = 5000000.  Consumers would be expected to do that sort of computation
themselves to reconstruct the integer.  That's why the endianness matters.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 18 April 2014 15:43:22 UTC