/external/icu/icu4c/source/test/intltest/ |
D | static_unisets_test.cpp | 54 UnicodeSet decimals; in testSetCoverage() local 55 decimals.addAll(*get(unisets::STRICT_COMMA)); in testSetCoverage() 56 decimals.addAll(*get(unisets::STRICT_PERIOD)); in testSetCoverage() 57 decimals.freeze(); in testSetCoverage() 59 grouping.addAll(decimals); in testSetCoverage() 61 decimals.freeze(); in testSetCoverage() 79 ASSERT_IN_SET(decimals, dfs.getConstSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol)); in testSetCoverage()
|
D | plurults.cpp | 992 int32_t numFractionDigits = FixedDecimal::decimals(tc.n); in testFixedDecimal()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/ |
D | CurrencyDemo.java | 48 result.setMinimumFractionDigits(hack.decimals); in getCurrencyFormat() 49 result.setMaximumFractionDigits(hack.decimals); in getCurrencyFormat() 59 int decimals; field in CurrencyDemo.HackCurrencyInfo 62 HackCurrencyInfo(int decimals, double rounding, String symbol) { in HackCurrencyInfo() argument 63 this.decimals = decimals; in HackCurrencyInfo()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GeneratedPluralSamples.java | 352 private final DataSample decimals = new DataSample(PluralRules.SampleType.DECIMAL); 367 decimals.add(ni); 373 String decimalsString = type == PluralType.ordinal ? "" : decimals.toString(); 381 return integers.equals(other.integers) && decimals.equals(other.decimals); 387 decimals.freeze(keyword, rules); 475 private void collect10s(PluralInfo pluralInfo, int start, int end, int decimals) { 476 double power = Math.pow(10, decimals); 478 add(pluralInfo, i / power, decimals); 482 private void collect(PluralInfo pluralInfo, int limit, int decimals) { 483 double power = Math.pow(10, decimals); [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | ExhaustiveNumberTest.java | 48 UnicodeSet decimals = get(Key.STRICT_COMMA).cloneAsThawed().addAll(get(Key.STRICT_PERIOD)) in testSetCoverage() local 50 UnicodeSet grouping = decimals.cloneAsThawed().addAll(get(Key.OTHER_GROUPING_SEPARATORS)) in testSetCoverage() 61 assertInSet(locale, decimals, dfs.getDecimalSeparatorString()); in testSetCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | ExhaustiveNumberTest.java | 45 UnicodeSet decimals = get(Key.STRICT_COMMA).cloneAsThawed().addAll(get(Key.STRICT_PERIOD)) in testSetCoverage() local 47 UnicodeSet grouping = decimals.cloneAsThawed().addAll(get(Key.OTHER_GROUPING_SEPARATORS)) in testSetCoverage() 58 assertInSet(locale, decimals, dfs.getDecimalSeparatorString()); in testSetCoverage()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestBcp47Numbers.java | 35 UnicodeSet decimals = new UnicodeSet("[[:Nd:]&[:nv=0:]-[:nfkcqc=n:]]"); in TestScripts() local 37 for (String s : decimals) { in TestScripts()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | PeriodFormatterData.java | 358 int decimals = 1; in appendCount() local 360 case ECountVariant.DECIMAL2: decimals = 2; break; in appendCount() 361 case ECountVariant.DECIMAL3: decimals = 3; break; in appendCount() 364 if (!omitCount) appendCountValue(count, 1, decimals, sb); in appendCount()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
D | PeriodFormatterData.java | 360 int decimals = 1; in appendCount() local 362 case ECountVariant.DECIMAL2: decimals = 2; break; in appendCount() 363 case ECountVariant.DECIMAL3: decimals = 3; break; in appendCount() 366 if (!omitCount) appendCountValue(count, 1, decimals, sb); in appendCount()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/ |
D | MANIFEST | 227 tests/yui/decimals.css 228 tests/yui/decimals.css.min 299 tests/yui/out/decimals.out 300 tests/yui/out/decimals.out.b
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_dataset_test.py | 573 self.assertEqual(np.around(outs[1], decimals=1), 0.5) 574 self.assertEqual(np.around(outs[2], decimals=1), 0.5)
|
/external/icu/icu4c/source/i18n/ |
D | plurrule_impl.h | 294 static int32_t decimals(double n);
|
D | plurrule.cpp | 1549 int32_t numFractionDigits = decimals(n); in init() 1607 int32_t FixedDecimal::decimals(double n) { in decimals() function in FixedDecimal
|
/external/libexif/libexif/ |
D | exif-entry.c | 546 int decimals = (int)(log10(v_rat.denominator)-0.08+1.0); in exif_entry_format_value() local 548 decimals, in exif_entry_format_value() 569 int decimals = (int)(log10(fabs(v_srat.denominator))-0.08+1.0); in exif_entry_format_value() local 571 decimals, in exif_entry_format_value()
|
/external/eigen/unsupported/Eigen/ |
D | NonLinearOptimization | 67 * code. Please note that we do not always get the exact same decimals as they do,
|
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
D | README.falcon | 72 Note, U-Boot takes values as hexadecimals while Linux takes them as decimals by
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralRules.java | 708 this(n, decimals(n)); in FixedDecimal() 730 public static int decimals(double n) { in decimals() method in PluralRules.FixedDecimal
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralRules.java | 745 this(n, decimals(n)); in FixedDecimal() 769 public static int decimals(double n) { in decimals() method in PluralRules.FixedDecimal
|
/external/tensorflow/tensorflow/python/keras/ |
D | metrics_test.py | 108 result = np.round(self.evaluate(result_t), decimals=2) 242 result = np.round(self.evaluate(result_t), decimals=2) # 58.5 / 5.6 244 self.assertEqual(np.round(self.evaluate(m.total), decimals=2), 58.54) 245 self.assertEqual(np.round(self.evaluate(m.count), decimals=2), 5.6)
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 127 The usual start to using decimals is importing the module, viewing the current 164 decimals and floats in constructors or ordering comparisons raises 333 a single cast inside a loop. With context set and decimals created, the bulk of 1120 The usual approach to working with decimals is to create :class:`Decimal`
|
D | random.rst | 163 integers, floats, and fractions but excludes decimals).
|
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 122 The usual start to using decimals is importing the module, viewing the current 299 a single cast inside a loop. With context set and decimals created, the bulk of 1143 The usual approach to working with decimals is to create :class:`Decimal`
|
/external/icu/icu4c/source/data/lang/ |
D | ca.txt | 903 hanidec{"nombres decimals xinesos"}
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTest.java | 4061 int decimals = dotPos < 0 ? 0 : test[2].length() - dotPos - 1; in TestCurrencyPlurals() 4063 numberFormat.setMaximumFractionDigits(decimals); in TestCurrencyPlurals() 4064 numberFormat.setMinimumFractionDigits(decimals); in TestCurrencyPlurals()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTest.java | 4064 int decimals = dotPos < 0 ? 0 : test[2].length() - dotPos - 1; in TestCurrencyPlurals() 4066 numberFormat.setMaximumFractionDigits(decimals); in TestCurrencyPlurals() 4067 numberFormat.setMinimumFractionDigits(decimals); in TestCurrencyPlurals()
|