16 Commits

Author SHA1 Message Date
Brian Burkhalter
670a226fcc 8026832: Clean up straggling doclint warnings in java.math
Fix empty paragraph tag warnings.

Reviewed-by: lancea
2013-10-17 15:05:18 -07:00
Brian Burkhalter
6c5c2d745a 6378503: In java.math.BigDecimal, division by one returns zero
6446965: Using BigDecimal.divideToIntegralValue with extreme scales can lead to an incorrect result

Fix overflow of ints and ensure appropriate values passed to checkScaleNonZero()

Reviewed-by: darcy, martin
2013-08-23 14:15:54 -07:00
Brian Burkhalter
9123d3fed3 6480539: BigDecimal.stripTrailingZeros() has no effect on zero itself ("0.0")
Make stripTrailingZeros() return BigDecimal.ZERO if the BigDecimal is numerically equal to zero.

Reviewed-by: darcy
2013-07-09 12:47:37 -07:00
Joe Darcy
4d367e8fbb 7018139: Fix HTML accessibility and doclint issues in java.math
Reviewed-by: lancea, bpb
2013-06-26 13:24:13 -07:00
Alan Eliasen
3a76795991 4837946: Faster multiplication and exponentiation of large integers
4646474: BigInteger.pow() algorithm slow in 1.4.0

Implement Karatsuba and 3-way Toom-Cook multiplication as well as exponentiation using Karatsuba and Toom-Cook squaring.

Reviewed-by: alanb, bpb, martin
2013-06-19 08:59:39 -07:00
Brian Burkhalter
3f02516d3e 6471906: java.lang.NegativeArraySizeException in tenToThe
Reviewed-by: darcy
2013-02-03 18:20:24 +04:00
Joe Darcy
2a22d4691a 6838776: Defer initialization of static fields in java.math.BigInteger
Reviewed-by: mduigou, mduigou
2011-09-06 06:17:52 -07:00
Joe Darcy
59a4dbb95a 7086710: java/util/Formatter/Basic.java failing after 7082971
Reviewed-by: alanb
2011-09-05 08:04:04 -07:00
Sergey Kuksenko
238bb5d3bb 7082971: More performance tuning of BigDecimal and other java.math classes
Reviewed-by: darcy
2011-09-01 23:00:09 -07:00
Jim Holmlund
bbf16c0b3a 7032960: API files in java.awt need to be updated for references to JVM Spec with editions/hyperlinks
7032965: API files in java.io need to updated for references to JVM Spec with editions/hyperlinks
7032958: API files in java.lang need to updated for references to JLS with editions/hyperlinks
7032961: API files in java.lang need to updated for references to JVM with editions/hyperlinks
7032976: API files in javax.lang need to be updated for references to JLS with editions/hyperlinks
7032959: API files in java.util need to updated for references to JLS with editions/hyperlinks
7032962: API files in java.util need to updated for references to JVM Spec with editions/hyperlinks
7032967: API files in java.security need to updated for references to JVM Spec with editions/hyperlinks
7032955: API files in java.math need to updated for references to JLS with editions/hyperlinks

Removed URLs and 'edition' references

Reviewed-by: darcy
2011-04-13 12:16:13 -07:00
Joe Darcy
8e948a84fa 7015827: Fix HTML validation issues in java.math package
Reviewed-by: mduigou
2011-02-01 00:29:26 -08:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Xiaobin Lu
4b58ee1a37 6876282: BigDecimal's divide(BigDecimal bd, RoundingFormat r) produces incorrect result
Reviewed-by: darcy
2009-08-27 18:00:16 -07:00
Xiaobin Lu
c0146a5bd0 6850606: Regression from JDK 1.6.0_12
The returned result from multiply should be constructed by using valueOf to take care of the INFLATED case.

Reviewed-by: darcy
2009-06-20 13:34:06 -07:00
Xiaobin Lu
9f9d70b270 6622432: RFE: Performance improvements to java.math.BigDecimal
Reviewed-by: darcy
2009-05-24 16:29:57 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00