[PATCH] Sunbug 7131192: Optimize BigInteger.doubleValue(), floatValue() (original) (raw)
Andrew Haley aph at redhat.com
Thu Jul 12 06:58:22 UTC 2012
- Previous message: [PATCH] Sunbug 7131192: Optimize BigInteger.doubleValue(), floatValue()
- Next message: [PATCH] Sunbug 7131192: Optimize BigInteger.doubleValue(), floatValue()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
Andrew.
- Previous message: [PATCH] Sunbug 7131192: Optimize BigInteger.doubleValue(), floatValue()
- Next message: [PATCH] Sunbug 7131192: Optimize BigInteger.doubleValue(), floatValue()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]