Searched refs:factorNum (Results 1 – 8 of 8) sorted by relevance
169 private BigDecimal factorNum; field in UnitsConverter.Factor201 this.factorNum = BigDecimal.valueOf(1); in Factor()238 result.factorNum = this.factorNum; in copy()283 return resultCollector.factorNum.divide(resultCollector.factorDen, DECIMAL128); in getConversionRate()292 this.factorNum = this.factorNum.multiply(absPoweredValue); in multiply()315 result.factorNum = this.factorNum.multiply(absFactor); in applyPrefix()323 result.factorNum = this.factorNum.pow(power); in power()326 result.factorNum = this.factorDen.pow(power * -1); in power()327 result.factorDen = this.factorNum.pow(power * -1); in power()348 result.factorNum = this.factorNum.multiply(other.factorDen); in divide()[all …]
27 factorNum *= rhs.factorNum; in multiplyBy()40 factorNum *= rhs.factorDen; in divideBy()41 factorDen *= rhs.factorNum; in divideBy()61 factorNum = std::pow(factorNum, std::abs(power)); in power()66 std::swap(factorNum, factorDen); in power()79 factorNum *= prefixFactor; in applyPrefix()98 this->factorNum *= absConstantValue; in substituteConstants()301 conversionRate.factorNum = finalFactor.factorNum; in loadConversionRate()308 sourceToBase.offset * sourceToBase.factorDen / sourceToBase.factorNum; in loadConversionRate()310 targetToBase.offset * targetToBase.factorDen / targetToBase.factorNum; in loadConversionRate()[all …]
67 double factorNum = 1; member109 double factorNum = 1; member
75 double factorNum = 1; member117 double factorNum = 1; member
26 factorNum *= rhs.factorNum; in multiplyBy()39 factorNum *= rhs.factorDen; in divideBy()40 factorDen *= rhs.factorNum; in divideBy()60 factorNum = std::pow(factorNum, std::abs(power)); in power()65 std::swap(factorNum, factorDen); in power()78 factorNum *= prefixFactor; in applyPrefix()97 this->factorNum *= absConstantValue; in substituteConstants()300 conversionRate.factorNum = finalFactor.factorNum; in loadConversionRate()307 sourceToBase.offset * sourceToBase.factorDen / sourceToBase.factorNum; in loadConversionRate()309 targetToBase.offset * targetToBase.factorDen / targetToBase.factorNum; in loadConversionRate()[all …]
61 double factorNum = 1; member103 double factorNum = 1; member
118 factor.factorNum); in testUnitConstantFreshness()