mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
This commit is contained in:
parent
4594696f54
commit
fb469fb894
162 changed files with 369 additions and 369 deletions
|
@ -2157,7 +2157,7 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
|||
//
|
||||
// unscaledValue * 10^(-scale)
|
||||
//
|
||||
// where unscaledValue is an integer with the mimimum
|
||||
// where unscaledValue is an integer with the minimum
|
||||
// precision for the cohort of the numerical value. To
|
||||
// allow binary floating-point hardware to be used to get
|
||||
// approximately a 15 digit approximation to the square
|
||||
|
@ -4311,7 +4311,7 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
|||
* digits.
|
||||
*
|
||||
* @param x the {@code long}
|
||||
* @return the length of the unscaled value, in deciaml digits.
|
||||
* @return the length of the unscaled value, in decimal digits.
|
||||
*/
|
||||
static int longDigitLength(long x) {
|
||||
/*
|
||||
|
@ -4944,7 +4944,7 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
|||
}
|
||||
|
||||
/*
|
||||
* returns INFLATED if oveflow
|
||||
* returns INFLATED if overflow
|
||||
*/
|
||||
private static long add(long xs, long ys){
|
||||
long sum = xs + ys;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue