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

Andrew Haley aph at redhat.com
Thu Jul 12 10:21:15 UTC 2012


On 07/12/2012 10:32 AM, Louis Wasserman wrote:

It was attached to the previous message? I don't know if this list works with attachments. Alternately, the patch was attached here: https://bugs.openjdk.java.net/showbug.cgi?id=100222

I'm not sure what you mean by double-rounding bugs, though. It's not difficult to actually implement the HALFEVEN rounding behavior with bit twiddling.

Sure, as long as you've thought about it and done it carefully. The bit twiddling is easy to do, and easy to get wrong.

From the supplied patch it looks like you've done a good job, but there was no way to tell without it. I presume the listserv dropped it on the floor.

Andrew.



More information about the core-libs-dev mailing list