Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DUnitConverter.java114 private BigDecimal factorNum; field in UnitConverter.Factor
130 this.factorNum = BigDecimal.valueOf(1); in Factor()
167 result.factorNum = this.factorNum; in copy()
193 return resultCollector.factorNum.divide(resultCollector.factorDen, DECIMAL128); in getConversionRate()
201 this.factorNum = this.factorNum.multiply(absPoweredValue); in substitute()
220 result.factorNum = this.factorNum.multiply(siApplied); in applySiPrefix()
228 result.factorNum = this.factorNum.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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitConverter.java107 private BigDecimal factorNum; field in UnitConverter.Factor
123 this.factorNum = BigDecimal.valueOf(1); in Factor()
160 result.factorNum = this.factorNum; in copy()
186 return resultCollector.factorNum.divide(resultCollector.factorDen, DECIMAL128); in getConversionRate()
194 this.factorNum = this.factorNum.multiply(absPoweredValue); in substitute()
213 result.factorNum = this.factorNum.multiply(siApplied); in applySiPrefix()
221 result.factorNum = this.factorNum.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 …]
/external/icu/icu4c/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()
70 std::swap(factorNum, factorDen); in flip()
87 factorNum *= siApplied; in applySiPrefix()
103 this->factorNum *= absConstantValue; in substituteConstants()
300 conversionRate.factorNum = finalFactor.factorNum; in loadConversionRate()
306 sourceToBase.offset * sourceToBase.factorDen / sourceToBase.factorNum; in loadConversionRate()
[all …]
Dunits_converter.h55 double factorNum = 1; member
87 double factorNum = 1; member
/external/icu/libicu/cts_headers/
Dunits_converter.h55 double factorNum = 1; member
87 double factorNum = 1; member
/external/icu/icu4c/source/test/intltest/
Dunits_test.cpp120 factor.factorNum); in testUnitConstantFreshness()