Home
last modified time | relevance | path

Searched refs:decimal_part (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/api/test/metrics/
Dstdout_metrics_exporter.cc36 double decimal_part = std::abs(value) - integral_part; in AppendWithPrecision() local
47 int64_t decimal_holder = std::lround((1 + decimal_part) * multiplier); in AppendWithPrecision()
/external/python/cpython3/Modules/_decimal/tests/
Dranddec.py71 def decimal_part(maxprec): function
108 return ''.join((decimal_part(maxprec), exp_part))
/external/libtextclassifier/native/annotator/
Dannotator.cc2740 const UnicodeText decimal_part = UnicodeText::Substring( in ParseAndFillInMoneyAmount() local
2743 if (!unilib_->ParseInt32(decimal_part, &data->money->amount_decimal_part)) { in ParseAndFillInMoneyAmount()
2750 pow(10, 9 - decimal_part.size_codepoints()); in ParseAndFillInMoneyAmount()
Dannotator_test-include.cc63 const int decimal_part, const int nanos) { in ExpectFirstEntityIsMoney() argument
75 EXPECT_EQ(entity_data->money()->amount_decimal_part(), decimal_part); in ExpectFirstEntityIsMoney()