Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DUnitConverter.java115 private BigDecimal factorDen; field in UnitConverter.Factor
131 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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitConverter.java108 private BigDecimal factorDen; field in UnitConverter.Factor
124 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 …]
/external/icu/icu4c/source/i18n/
Dunits_converter.cpp27 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 …]
Dunits_converter.h56 double factorDen = 1; member
88 double factorDen = 1; member
/external/icu/libicu/cts_headers/
Dunits_converter.h56 double factorDen = 1; member
88 double factorDen = 1; member
/external/icu/icu4c/source/test/intltest/
Dunits_test.cpp121 … assertEquals(UnicodeString("Constant ") + constant + u" denominator", 1.0, factor.factorDen); in testUnitConstantFreshness()