Searched refs:factorDen (Results 1 – 6 of 6) sorted by relevance
115 private BigDecimal factorDen; field in UnitConverter.Factor131 this.factorDen = BigDecimal.valueOf(1); in Factor()168 result.factorDen = this.factorDen; in copy()193 return resultCollector.factorNum.divide(resultCollector.factorDen, DECIMAL128); in getConversionRate()203 this.factorDen = this.factorDen.multiply(absPoweredValue); in substitute()216 result.factorDen = this.factorDen.multiply(siApplied); in applySiPrefix()229 result.factorDen = this.factorDen.pow(power); in power()231 result.factorNum = this.factorDen.pow(power * -1); in power()232 result.factorDen = this.factorNum.pow(power * -1); in power()247 result.factorNum = this.factorNum.multiply(other.factorDen); in divide()[all …]
108 private BigDecimal factorDen; field in UnitConverter.Factor124 this.factorDen = BigDecimal.valueOf(1); in Factor()161 result.factorDen = this.factorDen; in copy()186 return resultCollector.factorNum.divide(resultCollector.factorDen, DECIMAL128); in getConversionRate()196 this.factorDen = this.factorDen.multiply(absPoweredValue); in substitute()209 result.factorDen = this.factorDen.multiply(siApplied); in applySiPrefix()222 result.factorDen = this.factorDen.pow(power); in power()224 result.factorNum = this.factorDen.pow(power * -1); in power()225 result.factorDen = this.factorNum.pow(power * -1); in power()240 result.factorNum = this.factorNum.multiply(other.factorDen); in divide()[all …]
27 factorDen *= rhs.factorDen; in multiplyBy()39 factorNum *= rhs.factorDen; in divideBy()40 factorDen *= rhs.factorNum; in divideBy()61 factorDen = std::pow(factorDen, std::abs(power)); in power()65 std::swap(factorNum, factorDen); in power()70 std::swap(factorNum, factorDen); in flip()83 factorDen *= siApplied; in applySiPrefix()101 this->factorDen *= absConstantValue; in substituteConstants()301 conversionRate.factorDen = finalFactor.factorDen; in loadConversionRate()306 sourceToBase.offset * sourceToBase.factorDen / sourceToBase.factorNum; in loadConversionRate()[all …]
56 double factorDen = 1; member88 double factorDen = 1; member
121 … assertEquals(UnicodeString("Constant ") + constant + u" denominator", 1.0, factor.factorDen); in testUnitConstantFreshness()