hg: jdk8/tl/jdk: 7131192: BigInteger.doubleValue() is depressingly slow (original) (raw)
alan.bateman at oracle.com alan.bateman at oracle.com
Fri Jun 21 20:28:22 UTC 2013
- Previous message: hg: jdk8/tl/jdk: 7192954: Fix Float.parseFloat to round correctly and preserve monotonicity.; ...
- Next message: hg: jdk8/tl/jdk: 6863624: java/util/Currency/PropertiesTest.sh writable check is incorrect
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Changeset: 814759462705 Author: bpb Date: 2013-06-21 11:50 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/814759462705
7131192: BigInteger.doubleValue() is depressingly slow Summary: In doubleValue() and floatValue() replace converting to String and parsing to Double or Float with direct conversion into IEEE 754 bits. Reviewed-by: bpb, drchase, martin Contributed-by: Louis Wasserman <lowasser at google.com>
! src/share/classes/java/math/BigInteger.java
- test/java/math/BigInteger/PrimitiveConversionTests.java
- Previous message: hg: jdk8/tl/jdk: 7192954: Fix Float.parseFloat to round correctly and preserve monotonicity.; ...
- Next message: hg: jdk8/tl/jdk: 6863624: java/util/Currency/PropertiesTest.sh writable check is incorrect
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]