| /external/llvm-libc/test/src/__support/ |
| D | high_precision_decimal_test.cpp | 17 uint8_t *digits = hpd.get_digits(); in TEST() local 19 EXPECT_EQ(digits[0], uint8_t(1)); in TEST() 20 EXPECT_EQ(digits[1], uint8_t(2)); in TEST() 21 EXPECT_EQ(digits[2], uint8_t(3)); in TEST() 22 EXPECT_EQ(digits[3], uint8_t(4)); in TEST() 23 EXPECT_EQ(digits[4], uint8_t(5)); in TEST() 31 uint8_t *digits = hpd.get_digits(); in TEST() local 35 EXPECT_EQ(digits[0], uint8_t(2)); in TEST() 43 uint8_t *digits = hpd.get_digits(); in TEST() local 45 EXPECT_EQ(digits[0], uint8_t(5)); in TEST() [all …]
|
| /external/cldr/common/bcp47/ |
| D | number.xml | 13 <type name="adlm" description="Adlam digits" since="30"/> 14 <type name="ahom" description="Ahom digits" since="28"/> 15 <type name="arab" description="Arabic-Indic digits"/> 16 <type name="arabext" description="Extended Arabic-Indic digits"/> 19 <type name="bali" description="Balinese digits" since="21"/> 20 <type name="beng" description="Bengali digits"/> 21 <type name="bhks" description="Bhaiksuki digits" since="30"/> 22 <type name="brah" description="Brahmi digits" since="21"/> 23 <type name="cakm" description="Chakma digits" since="21"/> 24 <type name="cham" description="Cham digits" since="21"/> [all …]
|
| /external/cldr/common/supplemental/ |
| D | numberingSystems.xml | 11 …<numberingSystem id="adlm" type="numeric" digits="𞥐𞥑𞥒𞥓𞥔&#x… 12 …<numberingSystem id="ahom" type="numeric" digits="𑜰𑜱𑜲𑜳𑜴&#x… 13 <numberingSystem id="arab" type="numeric" digits="٠١٢٣٤٥٦٧٨٩"/> 14 <numberingSystem id="arabext" type="numeric" digits="۰۱۲۳۴۵۶۷۸۹"/> 17 <numberingSystem id="bali" type="numeric" digits="᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙"/> 18 <numberingSystem id="beng" type="numeric" digits="০১২৩৪৫৬৭৮৯"/> 19 …<numberingSystem id="bhks" type="numeric" digits="𑱐𑱑𑱒𑱓𑱔&#x… 20 …<numberingSystem id="brah" type="numeric" digits="𑁦𑁧𑁨𑁩𑁪&#x… 21 …<numberingSystem id="cakm" type="numeric" digits="𑄶𑄷𑄸𑄹𑄺&#x… 22 <numberingSystem id="cham" type="numeric" digits="꩐꩑꩒꩓꩔꩕꩖꩗꩘꩙"/> [all …]
|
| /external/cldr/common/testData/localeIdentifiers/ |
| D | localeDisplayName.txt | 28 en-u-nu-thai-ca-islamic-civil; English (Hijri Calendar [tabular, civil epoch], Thai Digits) 29 hi-u-nu-latn-t-en-h0-hybrid; Hindi (Hybrid: English, Western Digits) 30 en-u-nu-deva-t-de; English (Transform: German, Devanagari Digits) 162 en-u-kn-false; English (Sort Digits Individually) 163 en-u-kn-true; English (Sort Digits Numerically) 165 en-u-kr-digit-deva-latn; English (Script/Block Reordering: Digits, Devanagari, Latin) 167 en-u-kr-digit; English (Digits) 225 en-u-nu-adlm; English (Adlam Digits) 226 en-u-nu-ahom; English (Ahom Digits) 227 en-u-nu-arab; English (Arabic-Indic Digits) [all …]
|
| /external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/data/cldr/localeIdentifiers/ |
| D | localeDisplayName.txt | 28 en-u-nu-thai-ca-islamic-civil; English (Hijri Calendar [tabular, civil epoch], Thai Digits) 29 hi-u-nu-latn-t-en-h0-hybrid; Hindi (Hybrid: English, Western Digits) 30 en-u-nu-deva-t-de; English (Transform: German, Devanagari Digits) 162 en-u-kn-false; English (Sort Digits Individually) 163 en-u-kn-true; English (Sort Digits Numerically) 165 en-u-kr-digit-deva-latn; English (Script/Block Reordering: Digits, Devanagari, Latin) 167 en-u-kr-digit; English (Digits) 225 en-u-nu-adlm; English (Adlam Digits) 226 en-u-nu-ahom; English (Ahom Digits) 227 en-u-nu-arab; English (Arabic-Indic Digits) [all …]
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/data/cldr/localeIdentifiers/ |
| D | localeDisplayName.txt | 28 en-u-nu-thai-ca-islamic-civil; English (Hijri Calendar [tabular, civil epoch], Thai Digits) 29 hi-u-nu-latn-t-en-h0-hybrid; Hindi (Hybrid: English, Western Digits) 30 en-u-nu-deva-t-de; English (Transform: German, Devanagari Digits) 162 en-u-kn-false; English (Sort Digits Individually) 163 en-u-kn-true; English (Sort Digits Numerically) 165 en-u-kr-digit-deva-latn; English (Script/Block Reordering: Digits, Devanagari, Latin) 167 en-u-kr-digit; English (Digits) 225 en-u-nu-adlm; English (Adlam Digits) 226 en-u-nu-ahom; English (Ahom Digits) 227 en-u-nu-arab; English (Arabic-Indic Digits) [all …]
|
| /external/icu/icu4c/source/test/testdata/cldr/localeIdentifiers/ |
| D | localeDisplayName.txt | 28 en-u-nu-thai-ca-islamic-civil; English (Hijri Calendar [tabular, civil epoch], Thai Digits) 29 hi-u-nu-latn-t-en-h0-hybrid; Hindi (Hybrid: English, Western Digits) 30 en-u-nu-deva-t-de; English (Transform: German, Devanagari Digits) 162 en-u-kn-false; English (Sort Digits Individually) 163 en-u-kn-true; English (Sort Digits Numerically) 165 en-u-kr-digit-deva-latn; English (Script/Block Reordering: Digits, Devanagari, Latin) 167 en-u-kr-digit; English (Digits) 225 en-u-nu-adlm; English (Adlam Digits) 226 en-u-nu-ahom; English (Ahom Digits) 227 en-u-nu-arab; English (Arabic-Indic Digits) [all …]
|
| /external/icu/icu4c/source/data/lang/ |
| D | en_CA.txt | 75 adlm{"Adlam digits"} 76 arab{"Arabic-Indic digits"} 79 beng{"Bangla digits"} 80 cakm{"Chakma digits"} 81 deva{"Devanagari digits"} 86 gujr{"Gujarati digits"} 87 guru{"Gurmukhi digits"} 90 java{"Javanese digits"} 93 khmr{"Khmer digits"} 94 knda{"Kannada digits"} [all …]
|
| D | en.txt | 1002 no{"Sort Digits Individually"} 1003 yes{"Sort Digits Numerically"} 1007 digit{"Digits"} 1188 adlm{"Adlam Digits"} 1189 ahom{"Ahom Digits"} 1190 arab{"Arabic-Indic Digits"} 1191 arabext{"Extended Arabic-Indic Digits"} 1194 bali{"Balinese Digits"} 1195 beng{"Bangla Digits"} 1196 bhks{"Bhaiksuki Digits"} [all …]
|
| D | ar_XB.txt | 1002 no{"Sort Digits Individually"} 1003 yes{"Sort Digits Numerically"} 1007 digit{"Digits"} 1215 adlm{"Adlam Digits"} 1216 ahom{"Ahom Digits"} 1217 arab{"Arabic-Indic Digits"} 1218 arabext{"Extended Arabic-Indic Digits"} 1221 bali{"Balinese Digits"} 1222 beng{"Bangla Digits"} 1223 bhks{"Bhaiksuki Digits"} [all …]
|
| /external/llvm/include/llvm/Support/ |
| D | ScaledNumber.h | 11 // numbers -- in particular, pairs of integers where one represents digits and 47 /// Given \c Digits and \c Scale, round up iff \c ShouldRound is \c true. 53 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() argument 58 if (!++Digits) in getRounded() 61 return std::make_pair(Digits, Scale); in getRounded() 65 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, in getRounded32() argument 67 return getRounded(Digits, Scale, ShouldRound); in getRounded32() 71 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64() argument 73 return getRounded(Digits, Scale, ShouldRound); in getRounded64() 80 inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits, [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| D | ScaledNumber.h | 10 // numbers -- in particular, pairs of integers where one represents digits and 46 /// Given \c Digits and \c Scale, round up iff \c ShouldRound is \c true. 52 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() argument 57 if (!++Digits) in getRounded() 60 return std::make_pair(Digits, Scale); in getRounded() 64 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, in getRounded32() argument 66 return getRounded(Digits, Scale, ShouldRound); in getRounded32() 70 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64() argument 72 return getRounded(Digits, Scale, ShouldRound); in getRounded64() 79 inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits, [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/ |
| D | ScaledNumber.h | 10 // numbers -- in particular, pairs of integers where one represents digits and 46 /// Given \c Digits and \c Scale, round up iff \c ShouldRound is \c true. 52 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() argument 57 if (!++Digits) in getRounded() 60 return std::make_pair(Digits, Scale); in getRounded() 64 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, in getRounded32() argument 66 return getRounded(Digits, Scale, ShouldRound); in getRounded32() 70 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64() argument 72 return getRounded(Digits, Scale, ShouldRound); in getRounded64() 79 inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits, [all …]
|
| /external/cronet/third_party/icu/source/data/lang/ |
| D | en_CA.txt | 164 adlm{"Adlam digits"} 165 arab{"Arabic-Indic digits"} 166 arabext{"extended Arabic-Indic digits"} 169 beng{"Bangla digits"} 170 cakm{"Chakma digits"} 171 deva{"Devanagari digits"} 173 fullwide{"full-width digits"} 177 gujr{"Gujarati digits"} 178 guru{"Gurmukhi digits"} 185 java{"Javanese digits"} [all …]
|
| D | en.txt | 998 no{"Sort Digits Individually"} 999 yes{"Sort Digits Numerically"} 1003 digit{"Digits"} 1185 adlm{"Adlam Digits"} 1186 ahom{"Ahom Digits"} 1187 arab{"Arabic-Indic Digits"} 1188 arabext{"Extended Arabic-Indic Digits"} 1191 bali{"Balinese Digits"} 1192 beng{"Bangla Digits"} 1193 bhks{"Bhaiksuki Digits"} [all …]
|
| /external/python/cpython3/Modules/_decimal/tests/ |
| D | randfloat.py | 12 # exact halfway cases with a small number of significant digits 23 # with small number of significant digits. 32 # until n * 2**p2 has more than 20 significant digits. 33 digits, exponent = n, e 34 while digits < 10**20: 35 s = '{}e{}'.format(digits, exponent) 38 s = '{}e{}'.format(digits * 10**40, exponent - 40) 40 digits *= 2 44 digits, exponent = n, e 45 while digits < 10**20: [all …]
|
| /external/llvm-libc/src/__support/ |
| D | high_precision_decimal.h | 35 // digits that will be added by multiplying 5^i by 2^i. If the number is less 109 // 800 is an arbitrary number of digits, but should be 116 uint8_t digits[MAX_NUM_DIGITS]; variable 126 // The above condition handles all cases where all of the trailing digits in should_round_up() 137 // If we're right in the middle and there are no extra digits in should_round_up() 138 if (this->digits[round_to_digit] == 5 && in should_round_up() 151 return this->digits[round_to_digit - 1] % 2 != 0; in should_round_up() 153 // If there are digits after round_to_digit, they must be non-zero since we in should_round_up() 154 // trim trailing zeroes after all operations that change digits. in should_round_up() 155 return this->digits[round_to_digit] >= 5; in should_round_up() [all …]
|
| /external/sdk-platform-java/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ |
| D | DecimalOrBuilder.java | 32 * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits 36 * digits. The string must contain at least one digit in either the integer 40 * followed by one or more decimal digits. 60 * Digits ['.'] [Digits] | [Digits] '.' Digits; 61 * Exponent = ('e' | 'E') [Sign] Digits; 62 * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; 64 * maximum supported precision (total number of digits), and, if applicable, 65 * the scale (number of digits after the decimal point), as well as how it 87 * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits 91 * digits. The string must contain at least one digit in either the integer [all …]
|
| D | Decimal.java | 82 * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits 86 * digits. The string must contain at least one digit in either the integer 90 * followed by one or more decimal digits. 110 * Digits ['.'] [Digits] | [Digits] '.' Digits; 111 * Exponent = ('e' | 'E') [Sign] Digits; 112 * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; 114 * maximum supported precision (total number of digits), and, if applicable, 115 * the scale (number of digits after the decimal point), as well as how it 148 * or `-` (`U+002D`), followed by a sequence of zero or more decimal digits 152 * digits. The string must contain at least one digit in either the integer [all …]
|
| /external/dynamic_depth/internal/strings/ |
| D | numbers.cc | 13 // Represents integer values of digits. 74 // "0x" with no digits after is invalid. in safe_parse_sign_and_base() 88 // "0x" with no digits after is invalid. in safe_parse_sign_and_base() 102 // Consume digits. 169 // loop over digits in safe_parse_positive_int() 210 // loop over digits in safe_parse_negative_int() 315 uint32 digits; in FastUInt32ToBufferLeft() local 318 // steps of two digits at a time rather than one whenever possible. in FastUInt32ToBufferLeft() 323 digits = u / 100000000; // 100,000,000 in FastUInt32ToBufferLeft() 324 u -= digits * 100000000; in FastUInt32ToBufferLeft() [all …]
|
| /external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/formatter/ |
| D | DefaultValueFormatter.java | 11 * pre-calculated number of digits (depending on max and min value). 26 * Constructor that specifies to how many digits the value should be 29 * @param digits 31 public DefaultValueFormatter(int digits) { in DefaultValueFormatter() argument 32 setup(digits); in DefaultValueFormatter() 36 * Sets up the formatter with a given number of decimal digits. 38 * @param digits 40 public void setup(int digits) { in setup() argument 42 this.mDecimalDigits = digits; in setup() 45 for (int i = 0; i < digits; i++) { in setup() [all …]
|
| /external/pigweed/third_party/fuchsia/repo/sdk/lib/stdcompat/include/lib/stdcompat/internal/ |
| D | bit.h | 29 const auto digits = std::numeric_limits<T>::digits; in rotl() local 30 const auto rotate_by = s % digits; in rotl() 33 return static_cast<T>((x << rotate_by) | (x >> (digits - rotate_by))); in rotl() 37 return static_cast<T>((x >> -rotate_by) | (x << (digits + rotate_by))); in rotl() 46 int digits = std::numeric_limits<T>::digits; in rotr() local 47 int rotate_by = s % digits; in rotr() 50 return static_cast<T>((x >> rotate_by) | (x << (digits - rotate_by))); in rotr() 89 const unsigned long long max_digits = std::numeric_limits<unsigned long long>::digits; 91 for (int slot = 0; slot * max_digits < std::numeric_limits<T>::digits; ++slot) { 100 return count - static_cast<int>(std::numeric_limits<T>::digits % max_digits); [all …]
|
| /external/llvm-libc/src/stdio/printf_core/ |
| D | float_dec_converter.h | 158 size_t buffered_digits = 0; // The number of digits held in the buffer. 159 bool has_written = false; // True once any digits have been output. 161 size_t total_digits = 0; // The number of digits that will be output. 162 size_t digits_before_decimal = 0; // The # of digits to write before the '.' 163 size_t total_digits_written = 0; // The # of digits that have been output. 179 // by the buffered block, write the appropriate digits and the decimal 186 // Write the digits before the decimal point. 191 // Write the digits after the decimal point. 202 // Clear the buffered digits. 210 // by the max blocks, write the appropriate digits and the decimal point. [all …]
|
| /external/rust/crates/syn/src/ |
| D | bigint.rs | 5 digits: Vec<u8>, field 10 BigInt { digits: Vec::new() } in new() 14 let mut repr = String::with_capacity(self.digits.len()); in to_string() 17 for digit in self.digits.iter().rev() { in to_string() 32 let len = self.digits.len(); in reserve_two_digits() 34 len + !self.digits.ends_with(&[0, 0]) as usize + !self.digits.ends_with(&[0]) as usize; in reserve_two_digits() 35 self.digits.resize(desired, 0); in reserve_two_digits() 46 let sum = self.digits[i] + increment; in add_assign() 47 self.digits[i] = sum % 10; in add_assign() 60 for digit in &mut self.digits { in mul_assign()
|
| /external/cronet/third_party/icu/source/i18n/ |
| D | decNumber.cpp | 62 /* precision (up to 999,999,999 digits) and arbitrary exponent */ 66 /* tightly: digits, emax, and -emin in the context must be <= */ 71 /* be finite, positive, have an exponent of zero, and all digits */ 72 /* must be either 0 or 1. The result will only contain digits */ 152 /* 6. The digits count is allowed to rise to a multiple of DECDPUN */ 154 /* accounting of digits is not needed. The correct digits value */ 156 /* This must be called before any rounding if the number of digits */ 160 /* numbers up to four digits, using appropriate constants. This */ 218 /* round-for-reround digits */ 338 /* complement of digits (where appropriate -- this is not the case */ [all …]
|