Home
last modified time | relevance | path

Searched refs:factorNum (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitsConverter.java169 private BigDecimal factorNum; field in UnitsConverter.Factor
201 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 …]
/third_party/icu/icu4c/source/i18n/
Dunits_converter.cpp27 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 …]
Dunits_converter.h67 double factorNum = 1; member
109 double factorNum = 1; member
/third_party/node/deps/icu-small/source/i18n/
Dunits_converter.cpp27 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 …]
Dunits_converter.h75 double factorNum = 1; member
117 double factorNum = 1; member
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_converter.cpp26 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 …]
Dunits_converter.h61 double factorNum = 1; member
103 double factorNum = 1; member
/third_party/icu/icu4c/source/test/intltest/
Dunits_test.cpp118 factor.factorNum); in testUnitConstantFreshness()