JDK 8 code review request for initial unsigned integer arithmetic library support (original) (raw)

Ulf Zibis Ulf.Zibis at gmx.de
Sat Jan 21 01:53:22 UTC 2012


Am 21.01.2012 01:35, schrieb Joseph Darcy:

On 1/19/2012 8:05 AM, Ulf Zibis wrote:

But again, moving the entire method to BigInteger would additionally avoid to clown around with the available BigInteger's public APIs. Having the method at BigInteger would allow elegant direct access to the private value fields. If the operation in question starts becoming a bottleneck, these alternate implementations can be explored. But the alternatives for potentially faster algorithms would be limited if you stick BigInteger toUnsignedBigInteger(long i) to class Long.

-Ulf



More information about the core-libs-dev mailing list