/external/icu/icu4c/source/test/intltest/ |
D | static_unisets_test.cpp | 57 UnicodeSet decimals; in testSetCoverage() local 58 decimals.addAll(*get(unisets::STRICT_COMMA)); in testSetCoverage() 59 decimals.addAll(*get(unisets::STRICT_PERIOD)); in testSetCoverage() 60 decimals.freeze(); in testSetCoverage() 62 grouping.addAll(decimals); in testSetCoverage() 64 decimals.freeze(); in testSetCoverage() 82 ASSERT_IN_SET(decimals, dfs.getConstSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol)); in testSetCoverage()
|
/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/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | __init__.py | 198 def round(a, decimals=0): argument 199 return around(a, decimals=decimals)
|
D | np_array_ops_test.py | 902 run_test(5.567, decimals=2) 904 run_test([1.27, 2.49, 2.75], decimals=1) 905 run_test([23.6, 45.1], decimals=-1)
|
D | np_array_ops.py | 726 def around(a, decimals=0): # pylint: disable=missing-docstring argument 729 factor = math.pow(10, decimals)
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GeneratedPluralSamples.java | 380 private final DataSample decimals = new DataSample(PluralRules.SampleType.DECIMAL); 395 decimals.add(ni); 402 String decimalsString = type == PluralType.ordinal ? "" : decimals.toString(); 410 return integers.equals(other.integers) && decimals.equals(other.decimals); 416 decimals.freeze(keyword, rules); 521 private void collect10s(PluralInfo pluralInfo, long start, long end, int decimals) { 522 double power = Math.pow(10, decimals); 524 add(pluralInfo, i / power, decimals); 528 private void collect(PluralInfo pluralInfo, long start, long limit, int decimals) { 529 double power = Math.pow(10, decimals); [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/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/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | ExhaustiveNumberTest.java | 51 UnicodeSet decimals = get(Key.STRICT_COMMA).cloneAsThawed().addAll(get(Key.STRICT_PERIOD)) in testSetCoverage() local 53 UnicodeSet grouping = decimals.cloneAsThawed().addAll(get(Key.OTHER_GROUPING_SEPARATORS)) in testSetCoverage() 64 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/cldr/tools/java/com/ibm/icu/text/ |
D | FixedDecimal.java | 218 this(n, decimals(n)); in FixedDecimal() 240 public static int decimals(double n) { in decimals() method in FixedDecimal
|
/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/rust/crates/ryu/ |
D | README.md | 95 Both libraries print short decimals such as 0.0000123 without scientific
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_dataset_test.py | 563 self.assertEqual(np.around(outs[1], decimals=1), 0.5) 564 self.assertEqual(np.around(outs[2], decimals=1), 0.5)
|
/external/icu/icu4c/source/i18n/ |
D | plurrule_impl.h | 312 static int32_t decimals(double n);
|
D | plurrule.cpp | 1699 int32_t numFractionDigits = decimals(n); in init() 1764 int32_t FixedDecimal::decimals(double n) { in decimals() function in FixedDecimal
|
/external/icu/libicu/cts_headers/ |
D | plurrule_impl.h | 312 static int32_t decimals(double n);
|
/external/libexif/libexif/ |
D | exif-entry.c | 548 int decimals = (int)(log10(v_rat.denominator)-0.08+1.0); in exif_entry_format_value() local 550 decimals, in exif_entry_format_value() 571 int decimals = (int)(log10(fabs(v_srat.denominator))-0.08+1.0); in exif_entry_format_value() local 573 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/zstd/tests/ |
D | README.md | 161 speedRatio= (accepts decimals)
|
/external/tensorflow/third_party/py/numpy/tf_numpy_api/ |
D | tensorflow.experimental.numpy.pbtxt | 201 argspec: "args=[\'a\', \'decimals\'], varargs=None, keywords=None, defaults=[\'0\'], " 757 argspec: "args=[\'a\', \'decimals\'], varargs=None, keywords=None, defaults=[\'0\'], "
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralRules.java | 786 this(n, decimals(n)); in FixedDecimal() 810 public static int decimals(double n) { in decimals() method in PluralRules.FixedDecimal
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralRules.java | 748 this(n, decimals(n)); in FixedDecimal() 770 public static int decimals(double n) { in decimals() method in PluralRules.FixedDecimal
|
/external/tensorflow/tensorflow/python/keras/ |
D | metrics_test.py | 115 result = np.round(self.evaluate(result_t), decimals=2) 268 result = np.round(self.evaluate(result_t), decimals=2) # 58.5 / 5.6 270 self.assertEqual(np.round(self.evaluate(m.total), decimals=2), 58.54) 271 self.assertEqual(np.round(self.evaluate(m.count), decimals=2), 5.6)
|