mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8247782: typos in java.math
Reviewed-by: rriggs, lancea, darcy
This commit is contained in:
parent
34c79640e7
commit
4f2edacaaf
2 changed files with 4 additions and 4 deletions
|
@ -934,7 +934,7 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
|||
// At this point, val == sign * significand * 2**exponent.
|
||||
|
||||
/*
|
||||
* Special case zero to supress nonterminating normalization and bogus
|
||||
* Special case zero to suppress nonterminating normalization and bogus
|
||||
* scale calculation.
|
||||
*/
|
||||
if (significand == 0) {
|
||||
|
@ -4052,7 +4052,7 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
|||
pows[i] = pows[i - 1].multiply(BigInteger.TEN);
|
||||
}
|
||||
// Based on the following facts:
|
||||
// 1. pows is a private local varible;
|
||||
// 1. pows is a private local variable;
|
||||
// 2. the following store is a volatile store.
|
||||
// the newly created array elements can be safely published.
|
||||
BIG_TEN_POWERS_TABLE = pows;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue