[PATCH] Sunbug 7131192: Optimize BigInteger.doubleValue(), floatValue()

Andrew Haley aph at redhat.com
Thu Jul 12 06:58:22 UTC 2012

On 07/11/2012 11:05 PM, Louis Wasserman wrote:
> Doing it with bit-twiddling and Double.longBitsToDouble improves the speed
> of those methods by something like two orders of magnitude in my benchmarks.

Mmm, but that's going to hit double-rounding bugs for large numbers.  Where
is this patch, anyway?


More information about the core-libs-dev mailing list