/third_party/icu/icu4c/source/data/misc/ |
D | plurals.txt | 322 " @integer 0~15, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0~1." 327 one{"i = 0 or n = 1 @integer 0, 1 @decimal 0.0~1.0, 0.00~0.04"} 329 " @integer 2~17, 100, 1000, 10000, 100000, 1000000, … @decimal 1.1~2." 336 " 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1~1.6, 10.1, 100.1, 100" 340 " @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0" 348 "11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1" 352 " @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0" 361 "00, 10000, 100000, 1000000, … @decimal 0.0~0.3, 0.5, 0.7, 0.8, 1.0~1" 366 " @integer 4, 6, 9, 14, 16, 19, 24, 26, 104, 1004, … @decimal 0.4, 0." 374 "101, 1001, … @decimal 0.1, 1.0, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 1" [all …]
|
/third_party/skia/third_party/externals/icu/source/data/misc/ |
D | plurals.txt | 327 " @integer 0~15, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0~1." 332 one{"i = 0 or n = 1 @integer 0, 1 @decimal 0.0~1.0, 0.00~0.04"} 334 " @integer 2~17, 100, 1000, 10000, 100000, 1000000, … @decimal 1.1~2." 341 " 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1~1.6, 10.1, 100.1, 100" 345 " @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0" 353 "11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1" 357 " @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0" 366 "00, 10000, 100000, 1000000, … @decimal 0.0~0.3, 0.5, 0.7, 0.8, 1.0~1" 371 " @integer 4, 6, 9, 14, 16, 19, 24, 26, 104, 1004, … @decimal 0.4, 0." 379 "101, 1001, … @decimal 0.1, 1.0, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 1" [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/ |
D | plurals.txt | 314 " @integer 0~15, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0~1." 319 one{"i = 0 or n = 1 @integer 0, 1 @decimal 0.0~1.0, 0.00~0.04"} 321 " @integer 2~17, 100, 1000, 10000, 100000, 1000000, … @decimal 1.1~2." 328 " 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1~1.6, 10.1, 100.1, 100" 332 " @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0" 340 "11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1" 344 " @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0" 353 "00, 10000, 100000, 1000000, … @decimal 0.0~0.3, 0.5, 0.7, 0.8, 1.0~1" 358 " @integer 4, 6, 9, 14, 16, 19, 24, 26, 104, 1004, … @decimal 0.4, 0." 366 "101, 1001, … @decimal 0.1, 1.0, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 1" [all …]
|
/third_party/python/Lib/test/ |
D | test_decimal.py | 131 self.context = self.decimal.Context() 132 self.readcontext = self.decimal.Context() 173 if self.decimal == C: 244 self.ErrorNames = {'clamped' : self.decimal.Clamped, 245 'conversion_syntax' : self.decimal.InvalidOperation, 246 'division_by_zero' : self.decimal.DivisionByZero, 247 'division_impossible' : self.decimal.InvalidOperation, 248 'division_undefined' : self.decimal.InvalidOperation, 249 'inexact' : self.decimal.Inexact, 250 'invalid_context' : self.decimal.InvalidOperation, [all …]
|
D | test_unicodedata.py | 86 format(self.db.decimal(char, -1), '.12g'), 123 self.assertEqual(self.db.decimal('A',None), None) 124 self.assertEqual(self.db.decimal('9'), 9) 125 self.assertEqual(self.db.decimal('\u215b', None), None) 126 self.assertEqual(self.db.decimal('\u2468', None), None) 127 self.assertEqual(self.db.decimal('\U00020000', None), None) 128 self.assertEqual(self.db.decimal('\U0001D7FD'), 7) 130 self.assertRaises(TypeError, self.db.decimal) 131 self.assertRaises(TypeError, self.db.decimal, 'xx') 132 self.assertRaises(ValueError, self.db.decimal, 'x') [all …]
|
/third_party/flutter/flutter/packages/flutter/test/services/ |
D | text_input_test.dart | 31 'decimal': null, 40 inputType: TextInputType.numberWithOptions(decimal: true), 49 'decimal': true, 62 const TextInputType decimal = TextInputType.numberWithOptions(decimal: true); 64 TextInputType.numberWithOptions(signed: true, decimal: true); 66 … expect(text.toString(), 'TextInputType(name: TextInputType.text, signed: null, decimal: null)'); 67 …expect(number.toString(), 'TextInputType(name: TextInputType.number, signed: false, decimal: false… 68 …expect(signed.toString(), 'TextInputType(name: TextInputType.number, signed: true, decimal: false)… 69 …expect(decimal.toString(), 'TextInputType(name: TextInputType.number, signed: false, decimal: true… 70 …ignedDecimal.toString(), 'TextInputType(name: TextInputType.number, signed: true, decimal: true)'); [all …]
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_context.py | 2 import decimal 10 @unittest.skipUnless(decimal.HAVE_CONTEXTVAR, "decimal is built with a thread-local context") 15 with decimal.localcontext() as ctx: 17 a = decimal.Decimal(x) / decimal.Decimal(y) 19 b = decimal.Decimal(x) / decimal.Decimal(y ** 2)
|
/third_party/boost/libs/test/doc/test_output/ |
D | logging_floating_point.qbk | 10 …hat floating-point numbers are displayed by the __UTF__ with an excessive number of decimal digits. 13 the default precision for float of just 6 decimal digits, given by 14 `std::numeric_limits<float>::digits10`. The function used for the number of decimal 17 significant decimal digits value], to be called `std::numeric_limits::max_digits10();`. 18 For 32-bit floats, 9 decimal digits are needed to ensure a single bit change produces a different d… 21 So a much more helpful display using 9 decimal digits is thus: 25 For __IEEE754__ 32-bit float values - 9 decimal digits are shown. For 64-bit __IEEE754__ double - 1… 26 __IEEE754__ extended long double using 80-bit - 21 decimal digits. For __IEEE754__ quadruple long d… 27 extended long double 128-bit - 36 decimal digits. For floating-point types, a convenient formula to…
|
/third_party/gettext/gettext-tools/tests/ |
D | cldr-plurals-1 | 19 …decimal 0.0, 0.00, 0.000, 0.0000; one: n = 1 @integer 1 @decimal 1.0, 1.00, 1.000, 1.0000; two: n … 30 …1..14 @integer 0, 5~19, 100, 1000, 10000, 100000, 1000000, …; other: @decimal 0.0~1.5, 10.0, 10… 43 …<pluralRule count="other"> @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0~1.5… 58 …teger 1; other: @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0~1.5, 10.0, 10…
|
/third_party/libxml2/result/schemas/ |
D | decimal-1_1_0.err | 1 ./test/schemas/decimal-1_0.xml:16: element val: Schemas validity error : Element 'val': '.' is not … 2 ./test/schemas/decimal-1_0.xml:17: element val: Schemas validity error : Element 'val': '-' is not … 3 ./test/schemas/decimal-1_0.xml:18: element val: Schemas validity error : Element 'val': '+' is not … 4 ./test/schemas/decimal-1_0.xml:19: element val: Schemas validity error : Element 'val': '*' is not … 5 ./test/schemas/decimal-1_0.xml:20: element val: Schemas validity error : Element 'val': '- 1' is no… 6 ./test/schemas/decimal-1_0.xml:21: element val: Schemas validity error : Element 'val': '+ 1' is no… 7 ./test/schemas/decimal-1_0.xml:22: element val: Schemas validity error : Element 'val': '+ 0' is no… 8 ./test/schemas/decimal-1_0.xml:23: element val: Schemas validity error : Element 'val': '- 0' is no…
|
D | decimal-3_1_0.err | 1 ./test/schemas/decimal-3_0.xml:12: element val: Schemas validity error : Element 'val': [facet 'tot… 2 ./test/schemas/decimal-3_0.xml:13: element val: Schemas validity error : Element 'val': [facet 'tot… 3 ./test/schemas/decimal-3_0.xml:14: element val: Schemas validity error : Element 'val': [facet 'tot… 4 ./test/schemas/decimal-3_0.xml:15: element val: Schemas validity error : Element 'val': [facet 'tot…
|
/third_party/tzdata/ |
D | newstrftime.3.txt | 38 to an integer) as a decimal number [00,99]. 45 %d is replaced by the day of the month as a decimal number [01,31]. 47 %e is replaced by the day of month as a decimal number [1,31]; 52 %G is replaced by the ISO 8601 year with century as a decimal 55 %g is replaced by the ISO 8601 year without century as a decimal 60 %H is replaced by the hour (24-hour clock) as a decimal number 63 %I is replaced by the hour (12-hour clock) as a decimal number 66 %j is replaced by the day of the year as a decimal number 69 %k is replaced by the hour (24-hour clock) as a decimal number 72 %l is replaced by the hour (12-hour clock) as a decimal number [all …]
|
/third_party/freetype/src/psaux/ |
D | psconv.c | 203 FT_Long decimal = 0; in PS_Conv_ToFixed() local 261 if ( divider < 0xCCCCCCCL && decimal < 0xCCCCCCCL ) in PS_Conv_ToFixed() 263 decimal = decimal * 10 + c; in PS_Conv_ToFixed() 298 if ( !integral && !decimal ) in PS_Conv_ToFixed() 312 if ( decimal >= 0xCCCCCCCL ) in PS_Conv_ToFixed() 319 decimal *= 10; in PS_Conv_ToFixed() 330 decimal /= 10; in PS_Conv_ToFixed() 332 if ( !integral && !decimal ) in PS_Conv_ToFixed() 338 if ( decimal ) in PS_Conv_ToFixed() 340 decimal = FT_DivFix( decimal, divider ); in PS_Conv_ToFixed() [all …]
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | psconv.c | 203 FT_Long decimal = 0; in PS_Conv_ToFixed() local 261 if ( divider < 0xCCCCCCCL && decimal < 0xCCCCCCCL ) in PS_Conv_ToFixed() 263 decimal = decimal * 10 + c; in PS_Conv_ToFixed() 298 if ( !integral && !decimal ) in PS_Conv_ToFixed() 312 if ( decimal >= 0xCCCCCCCL ) in PS_Conv_ToFixed() 319 decimal *= 10; in PS_Conv_ToFixed() 330 decimal /= 10; in PS_Conv_ToFixed() 332 if ( !integral && !decimal ) in PS_Conv_ToFixed() 338 if ( decimal ) in PS_Conv_ToFixed() 340 decimal = FT_DivFix( decimal, divider ); in PS_Conv_ToFixed() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/ |
D | psconv.c | 204 FT_Long decimal = 0; in PS_Conv_ToFixed() local 262 if ( divider < 0xCCCCCCCL && decimal < 0xCCCCCCCL ) in PS_Conv_ToFixed() 264 decimal = decimal * 10 + c; in PS_Conv_ToFixed() 299 if ( !integral && !decimal ) in PS_Conv_ToFixed() 313 if ( decimal >= 0xCCCCCCCL ) in PS_Conv_ToFixed() 320 decimal *= 10; in PS_Conv_ToFixed() 331 decimal /= 10; in PS_Conv_ToFixed() 333 if ( !integral && !decimal ) in PS_Conv_ToFixed() 339 if ( decimal ) in PS_Conv_ToFixed() 341 decimal = FT_DivFix( decimal, divider ); in PS_Conv_ToFixed() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | MacroProps.java | 35 public DecimalSeparatorDisplay decimal; field in MacroProps 71 if (decimal == null) in fallback() 72 decimal = fallback.decimal; in fallback() 96 decimal, in hashCode() 123 && Objects.equals(decimal, other.decimal) in equals()
|
/third_party/icu/icu4c/source/test/testdata/ |
D | numberpermutationtest.txt | 1012 compact-short percent decimal-always 1026 compact-short currency/EUR decimal-always 1040 compact-short measure-unit/length-furlong decimal-always 1054 scientific/+ee/sign-always percent decimal-always 1068 scientific/+ee/sign-always currency/EUR decimal-always 1082 scientific/+ee/sign-always measure-unit/length-furlong decimal-always 1656 compact-short unit-width-narrow decimal-always 1670 compact-short unit-width-full-name decimal-always 1684 scientific/+ee/sign-always unit-width-narrow decimal-always 1698 scientific/+ee/sign-always unit-width-full-name decimal-always [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/ |
D | numberpermutationtest.txt | 1012 compact-short percent decimal-always 1026 compact-short currency/EUR decimal-always 1040 compact-short measure-unit/length-furlong decimal-always 1054 scientific/+ee/sign-always percent decimal-always 1068 scientific/+ee/sign-always currency/EUR decimal-always 1082 scientific/+ee/sign-always measure-unit/length-furlong decimal-always 1656 compact-short unit-width-narrow decimal-always 1670 compact-short unit-width-full-name decimal-always 1684 scientific/+ee/sign-always unit-width-narrow decimal-always 1698 scientific/+ee/sign-always unit-width-full-name decimal-always [all …]
|
/third_party/python/Doc/tutorial/ |
D | floatingpoint.rst | 15 fractions. For example, the decimal fraction :: 27 Unfortunately, most decimal fractions cannot be represented exactly as binary 28 fractions. A consequence is that, in general, the decimal floating-point 50 decimal value 0.1 cannot be represented exactly as a base 2 fraction. In base 63 displayed. Python only prints a decimal approximation to the true decimal 65 Python were to print the true decimal value of the binary approximation stored 80 Interestingly, there are many different decimal numbers that share the same 84 approximated by ``3602879701896397 / 2 ** 55``. Since all of these decimal 143 tasks, but you do need to keep in mind that it's not decimal arithmetic and 148 display of your final results to the number of decimal digits you expect. [all …]
|
/third_party/libxml2/ |
D | xmlschemastypes.c | 125 xmlSchemaValDecimal decimal; member 254 ret->val->value.decimal.lo = value; in xmlSchemaNewMinLengthFacet() 2471 &v->value.decimal.lo, in xmlSchemaValAtomicType() 2472 &v->value.decimal.mi, in xmlSchemaValAtomicType() 2473 &v->value.decimal.hi); in xmlSchemaValAtomicType() 2479 v->value.decimal.sign = neg; in xmlSchemaValAtomicType() 2482 v->value.decimal.total = 1; in xmlSchemaValAtomicType() 2484 v->value.decimal.total = len; in xmlSchemaValAtomicType() 2486 v->value.decimal.frac = 0; in xmlSchemaValAtomicType() 2488 v->value.decimal.frac = len - integ; in xmlSchemaValAtomicType() [all …]
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | xmlschemastypes.c | 154 xmlSchemaValDecimal decimal; member 283 ret->val->value.decimal.lo = value; in xmlSchemaNewMinLengthFacet() 2399 &v->value.decimal.lo, in xmlSchemaValAtomicType() 2400 &v->value.decimal.mi, in xmlSchemaValAtomicType() 2401 &v->value.decimal.hi); in xmlSchemaValAtomicType() 2407 v->value.decimal.sign = neg; in xmlSchemaValAtomicType() 2410 v->value.decimal.total = 1; in xmlSchemaValAtomicType() 2412 v->value.decimal.total = len; in xmlSchemaValAtomicType() 2414 v->value.decimal.frac = 0; in xmlSchemaValAtomicType() 2416 v->value.decimal.frac = len - integ; in xmlSchemaValAtomicType() [all …]
|
/third_party/python/Doc/library/ |
D | numeric.rst | 11 mathematical functions for floating-point and complex numbers. The :mod:`decimal` 12 module supports exact representations of decimal numbers, using arbitrary precision 23 decimal.rst
|
D | fractions.rst | 23 Fraction(decimal) 32 either a :class:`float` or a :class:`decimal.Decimal` instance, and return a 45 decimal digits. In addition, any string that represents a finite 72 >>> from decimal import Decimal 85 :class:`decimal.Decimal` instances. 123 value of *dec*, which must be a :class:`decimal.Decimal` instance. 128 :class:`Fraction` instance directly from a :class:`decimal.Decimal`
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 243 public DecimalQuantity_SimpleStorage(BigDecimal decimal) { 244 setToBigDecimal(decimal); 252 public void setToBigDecimal(BigDecimal decimal) { 253 if (decimal.compareTo(BigDecimal.ZERO) < 0) { 255 decimal = decimal.negate(); 259 if (decimal.compareTo(BigDecimal.ZERO) == 0) { 262 fallback = decimal; 837 private static int precisionBigDecimal(BigDecimal decimal) { 838 if (decimal.compareTo(BigDecimal.ZERO) == 0) { 841 return decimal.precision(); [all …]
|
/third_party/python/Lib/test/test_json/ |
D | test_decode.py | 1 import decimal 10 rval = self.loads('1.1', parse_float=decimal.Decimal) 11 self.assertTrue(isinstance(rval, decimal.Decimal)) 12 self.assertEqual(rval, decimal.Decimal('1.1'))
|