On Thursday, June 13, 2013 9:18:23 AM UTC+2, stuckagain wrote:
>
> Forgot to mention this code-snippet I found in the BigInteger class:
>
> /**
> * The magnitude of this big integer. This array is in little endian
> order and
> * each "digit" is a 32-bit unsigned integer. For example:
> {...@code<javascript:>13} is
> * represented as [ 13 ] {...@code <javascript:> -13} is represented as
> [ 13 ] {...@code <javascript:> 2^32 +
> * 13} is represented as [ 13, 1 ] {...@code <javascript:> 2^64 + 13}
> is represented as [ 13,
> * 0, 1 ] {...@code <javascript:> 2^31} is represented as [
> Integer.MIN_VALUE ] The magnitude
> * array may be longer than strictly necessary, which results in
> additional
> * trailing zeros.
> *
> * <p>TODO(jat): consider changing to 24-bit integers for better
> performance
> * in browsers.
> */
> transient int digits[];
> Always nice to have TODO's in code that are not done :-) Who is "jat" ?
>
jat == John A. Tamplin
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
---
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.