Searched refs:diffScale (Results 1 – 1 of 1) sorted by relevance
733 int diffScale = this.scale - augend.scale; in add() local736 if (diffScale <= 0) { in add()743 if (diffScale >= 0) { in add()748 if (diffScale == 0) { in add()754 } else if (diffScale > 0) { in add()756 return addAndMult10(this, augend, diffScale); in add()758 return addAndMult10(augend, this, -diffScale); in add()762 private static BigDecimal addAndMult10(BigDecimal thisValue,BigDecimal augend, int diffScale) { in addAndMult10() argument763 if(diffScale < MathUtils.LONG_POWERS_OF_TEN.length && in addAndMult10()764 … Math.max(thisValue.bitLength,augend.bitLength+LONG_POWERS_OF_TEN_BIT_LENGTH[diffScale])+1<64) { in addAndMult10()[all …]