14 Commits

Author SHA1 Message Date
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08: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
aafacb6fa6 8022094: BigDecimal/CompareToTests and BigInteger/CompareToTests are incorrect
Fail test if errors; fix test values; port BigDecimal version to BigInteger

Reviewed-by: smarks, alanb
2013-08-02 11:10:41 -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
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08: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
Sergey Kuksenko
c930bfc387 7036582: Improve test coverage of java.math.BigDecimal
Reviewed-by: darcy
2011-04-17 13:49:33 +01:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08: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
2af45eb571 6806261: BigDecimal.longValueExact() method throws NullPointerException
Add various tests to test the change to 6622432

Reviewed-by: darcy
2009-05-24 16:35:32 -07:00
Xiaobin Lu
9f9d70b270 6622432: RFE: Performance improvements to java.math.BigDecimal
Reviewed-by: darcy
2009-05-24 16:29:57 -07:00
Joe Darcy
61f89b0025 6601457: Move wrapper class tests from closed to open
6601458: Move java.math tests from closed to open
6740185: Move java/lang/annotations tests to open
6759433: Move Math and StrictMath regression tests from closed to open

Move some more regression tests to the open

Reviewed-by: jjg
2009-01-26 19:49:26 -08:00