Home
last modified time | relevance | path

Searched refs:absPower (Results 1 – 7 of 7) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DSingleUnitImpl.java62 int absPower = Math.abs(this.getDimensionality()); in getNeutralIdentifier() local
64 assert absPower > 0 : "this function does not support the dimensionless single units"; in getNeutralIdentifier()
66 if (absPower == 1) { in getNeutralIdentifier()
68 } else if (absPower == 2) { in getNeutralIdentifier()
70 } else if (absPower == 3) { in getNeutralIdentifier()
72 } else if (absPower <= 15) { in getNeutralIdentifier()
74 result.append(absPower); in getNeutralIdentifier()
/third_party/icu/icu4c/source/i18n/
Dmeasunit_extra.cpp911 int32_t absPower = std::abs(this->dimensionality); in appendNeutralIdentifier() local
913 U_ASSERT(absPower > 0); // "this function does not support the dimensionless single units"; in appendNeutralIdentifier()
915 if (absPower == 1) { in appendNeutralIdentifier()
917 } else if (absPower == 2) { in appendNeutralIdentifier()
919 } else if (absPower == 3) { in appendNeutralIdentifier()
921 } else if (absPower <= 15) { in appendNeutralIdentifier()
923 result.appendNumber(absPower, status); in appendNeutralIdentifier()
Dunits_converter.cpp90 auto absPower = std::abs(this->constantExponents[i]); in substituteConstants() local
92 double absConstantValue = std::pow(constantsValues[i], absPower); in substituteConstants()
/third_party/skia/third_party/externals/icu/source/i18n/
Dmeasunit_extra.cpp911 int32_t absPower = std::abs(this->dimensionality); in appendNeutralIdentifier() local
913 U_ASSERT(absPower > 0); // "this function does not support the dimensionless single units"; in appendNeutralIdentifier()
915 if (absPower == 1) { in appendNeutralIdentifier()
917 } else if (absPower == 2) { in appendNeutralIdentifier()
919 } else if (absPower == 3) { in appendNeutralIdentifier()
921 } else if (absPower <= 15) { in appendNeutralIdentifier()
923 result.appendNumber(absPower, status); in appendNeutralIdentifier()
Dunits_converter.cpp90 auto absPower = std::abs(this->constantExponents[i]); in substituteConstants() local
92 double absConstantValue = std::pow(constantsValues[i], absPower); in substituteConstants()
/third_party/node/deps/icu-small/source/i18n/
Dmeasunit_extra.cpp950 int32_t absPower = std::abs(this->dimensionality); in appendNeutralIdentifier() local
952 U_ASSERT(absPower > 0); // "this function does not support the dimensionless single units"; in appendNeutralIdentifier()
954 if (absPower == 1) { in appendNeutralIdentifier()
956 } else if (absPower == 2) { in appendNeutralIdentifier()
958 } else if (absPower == 3) { in appendNeutralIdentifier()
960 } else if (absPower <= 15) { in appendNeutralIdentifier()
962 result.appendNumber(absPower, status); in appendNeutralIdentifier()
Dunits_converter.cpp90 auto absPower = std::abs(this->constantExponents[i]); in substituteConstants() local
92 double absConstantValue = std::pow(constantsValues[i], absPower); in substituteConstants()