/external/icu/icu4c/source/data/misc/ |
D | plurals.txt | 326 " @integer 0~15, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0~1." 331 one{"i = 0 or n = 1 @integer 0, 1 @decimal 0.0~1.0, 0.00~0.04"} 333 " @integer 2~17, 100, 1000, 10000, 100000, 1000000, … @decimal 1.1~2." 340 " 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1~1.6, 10.1, 100.1, 100" 344 " @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0" 352 "11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1" 356 " @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0" 365 "00, 10000, 100000, 1000000, … @decimal 0.0~0.3, 0.5, 0.7, 0.8, 1.0~1" 370 " @integer 4, 6, 9, 14, 16, 19, 24, 26, 104, 1004, … @decimal 0.4, 0." 378 "101, 1001, … @decimal 0.1, 1.0, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 1" [all …]
|
/external/python/cpython3/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 …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue40/ |
D | DogFoodBean.java | 21 BigDecimal decimal; field in DogFoodBean 24 decimal = BigDecimal.ZERO; in DogFoodBean() 28 return decimal; in getDecimal() 31 public void setDecimal(BigDecimal decimal) { in setDecimal() argument 32 this.decimal = decimal; in setDecimal()
|
/external/python/cpython3/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)
|
/external/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…
|
/external/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 …]
|
/external/python/cpython2/Doc/tutorial/ |
D | floatingpoint.rst | 11 fractions. For example, the decimal fraction :: 23 Unfortunately, most decimal fractions cannot be represented exactly as binary 24 fractions. A consequence is that, in general, the decimal floating-point 46 decimal value 0.1 cannot be represented exactly as a base 2 fraction. In base 54 for a Python float, so the value stored internally when you enter the decimal 62 decimal fraction, because of the way that floats are displayed at the 63 interpreter prompt. Python only prints a decimal approximation to the true 64 decimal value of the binary approximation stored by the machine. If Python 65 were to print the true decimal value of the binary approximation stored for 92 value 2.675 to two decimal places, you get this :: [all …]
|
/external/llvm-project/llvm/test/tools/llvm-ml/ |
D | radix_errors.asm | 6 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number 30 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number 32 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number 37 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number 42 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number 46 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | MacroProps.java | 35 public DecimalSeparatorDisplay decimal; field in MacroProps 72 if (decimal == null) in fallback() 73 decimal = fallback.decimal; in fallback() 99 decimal, in hashCode() 127 && Objects.equals(decimal, other.decimal) in equals()
|
/external/mesa3d/src/util/ |
D | format_r11g11b10f.h | 121 float scale, decimal; in uf11_to_f32() local 128 decimal = 1.0f + (float) mantissa / 64; in uf11_to_f32() 129 f32.f = scale * decimal; in uf11_to_f32() 203 float scale, decimal; in uf10_to_f32() local 211 decimal = 1.0f + (float) mantissa / 32; in uf10_to_f32() 212 f32.f = scale * decimal; in uf10_to_f32()
|
/external/rust/crates/cexpr/src/ |
D | literal.rs | 139 fn decimal(i: &[u8]) -> nom::IResult<&[u8], u8> { in decimal() function 274 map_opt(many1(complete(decimal)), |v| c_int_radix(v, 10)), in c_int() 294 pair(opt(byte!(b'-' | b'+')), many1(complete(decimal))), in float_exp() 303 many1(complete(decimal)), in c_float() 305 many0(complete(decimal)), in c_float() 311 many0(complete(decimal)), in c_float() 313 many1(complete(decimal)), in c_float() 319 many0(complete(decimal)), in c_float() 321 many1(complete(decimal)), in c_float() 328 many1(complete(decimal)), in c_float() [all …]
|
/external/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 …]
|
/external/icu/android_icu4j/src/main/tests/android/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 …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/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 …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MacroProps.java | 31 public DecimalSeparatorDisplay decimal; field in MacroProps 68 if (decimal == null) in fallback() 69 decimal = fallback.decimal; in fallback() 95 decimal, in hashCode() 123 && Objects.equals(decimal, other.decimal) in equals()
|
/external/python/cpython3/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 …]
|
/external/python/cpython2/Doc/library/ |
D | numeric.rst | 12 interested in decimal accuracy than in speed, the :mod:`decimal` module supports 13 exact representations of decimal numbers. 23 decimal.rst
|
/external/llvm-project/flang/lib/Evaluate/ |
D | real.cpp | 400 inline enum decimal::FortranRounding MapRoundingMode( in MapRoundingMode() 406 return decimal::RoundToZero; in MapRoundingMode() 408 return decimal::RoundDown; in MapRoundingMode() 410 return decimal::RoundUp; in MapRoundingMode() 412 return decimal::RoundCompatible; in MapRoundingMode() 414 return decimal::RoundNearest; // dodge gcc warning about lack of result in MapRoundingMode() 417 inline RealFlags MapFlags(decimal::ConversionResultFlags flags) { in MapFlags() 419 if (flags & decimal::Overflow) { in MapFlags() 422 if (flags & decimal::Inexact) { in MapFlags() 425 if (flags & decimal::Invalid) { in MapFlags() [all …]
|
/external/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 …]
|
/external/llvm-project/llvm/test/tools/llvm-objdump/ |
D | malformed-archives.test | 16 …alformed archive (characters in size field in archive header are not all decimal numbers: '[[VAL]]… 75 ## the "#1/" are not all decimal numbers. 81 …malformed archive (long name length characters after the #1/ are not all decimal numbers: '@123$' … 100 ## the "/" are not all decimal numbers. 105 …malformed archive (long name offset characters after the '/' are not all decimal numbers: '&a25*' … 125 …eport an error when the characters in the UID field of a member header are not all decimal numbers. 131 …malformed archive (characters in UID field in archive header are not all decimal numbers: '~97&' f… 138 …eport an error when the characters in the GID field of a member header are not all decimal numbers. 144 …malformed archive (characters in GID field in archive header are not all decimal numbers: '#55!' f… 151 …n error when the characters in the AccessMode field of a member header are not all decimal numbers. [all …]
|
/external/llvm-project/flang/runtime/ |
D | edit-output.cpp | 160 decimal::ConversionToDecimalResult RealOutputEditing<binaryPrecision>::Convert( in Convert() 163 flags |= decimal::AlwaysSign; in Convert() 165 auto converted{decimal::ConvertToDecimal<binaryPrecision>(buffer_, in Convert() 166 sizeof buffer_, static_cast<enum decimal::DecimalConversionFlags>(flags), in Convert() 187 flags |= decimal::Minimize; in EditEorDOutput() 205 decimal::ConversionToDecimalResult converted{ in EditEorDOutput() 230 int trailingZeroes{flags & decimal::Minimize in EditEorDOutput() 266 flags |= decimal::Minimize; in EditFOutput() 274 decimal::ConversionToDecimalResult converted{ in EditFOutput() 298 int trailingZeroes{flags & decimal::Minimize in EditFOutput() [all …]
|
/external/cldr/docs/rfc/ |
D | draft-davis-t-langtag-ext.css | 70 …content: counter(sec1, decimal) "." counter(sec2, decimal) "." counter(sec3,decimal) " " attr(titl… 78 content: counter(sec1, decimal) "." counter(sec2, decimal) " " attr(title); 86 content: counter(sec1, decimal) " " attr(title);
|
/external/python/cpython2/Lib/json/tests/ |
D | test_decode.py | 1 import decimal 9 rval = self.loads('1.1', parse_float=decimal.Decimal) 10 self.assertTrue(isinstance(rval, decimal.Decimal)) 11 self.assertEqual(rval, decimal.Decimal('1.1'))
|
/external/python/cpython3/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
|