Home
last modified time | relevance | path

Searched refs:decimal (Results 1 – 25 of 1361) sorted by relevance

12345678910>>...55

/third_party/icu/icu4c/source/data/misc/
Dplurals.txt327 " @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/skia/third_party/externals/icu/source/data/misc/
Dplurals.txt327 " @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/
Dplurals.txt314 " @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/
Dtest_decimal.py65 import decimal as orig_sys_decimal
150 self.context = self.decimal.Context()
151 self.readcontext = self.decimal.Context()
192 if self.decimal == C:
263 self.ErrorNames = {'clamped' : self.decimal.Clamped,
264 'conversion_syntax' : self.decimal.InvalidOperation,
265 'division_by_zero' : self.decimal.DivisionByZero,
266 'division_impossible' : self.decimal.InvalidOperation,
267 'division_undefined' : self.decimal.InvalidOperation,
268 'inexact' : self.decimal.Inexact,
[all …]
Dtest_unicodedata.py87 format(self.db.decimal(char, -1), '.12g'),
124 self.assertEqual(self.db.decimal('A',None), None)
125 self.assertEqual(self.db.decimal('9'), 9)
126 self.assertEqual(self.db.decimal('\u215b', None), None)
127 self.assertEqual(self.db.decimal('\u2468', None), None)
128 self.assertEqual(self.db.decimal('\U00020000', None), None)
129 self.assertEqual(self.db.decimal('\U0001D7FD'), 7)
131 self.assertRaises(TypeError, self.db.decimal)
132 self.assertRaises(TypeError, self.db.decimal, 'xx')
133 self.assertRaises(ValueError, self.db.decimal, 'x')
[all …]
/third_party/flutter/flutter/packages/flutter/test/services/
Dtext_input_test.dart31 '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/
Dtest_context.py2 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/libxml2/result/schemas/
Ddecimal-1_1_0.err1 ./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…
Ddecimal-3_1_0.err1 ./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/
Dnewstrftime.3.txt38 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/
Dpsconv.c203 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/
Dpsconv.c203 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/
Dpsconv.c204 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/tests/resources/ohos/global/icu/dev/data/
Dnumberpermutationtest.txt1012 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/icu4c/source/test/testdata/
Dnumberpermutationtest.txt1012 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/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberpermutationtest.txt1012 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/rust/crates/rust-cexpr/src/
Dliteral.rs139 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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DMacroProps.java35 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/python/Doc/tutorial/
Dfloatingpoint.rst15 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/mesa3d/src/util/
Dformat_r11g11b10f.h121 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMacroProps.java32 public DecimalSeparatorDisplay decimal; field in MacroProps
71 if (decimal == null) in fallback()
72 decimal = fallback.decimal; in fallback()
99 decimal, in hashCode()
128 && Objects.equals(decimal, other.decimal) in equals()
/third_party/libxml2/
Dxmlschemastypes.c125 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java240 public DecimalQuantity_SimpleStorage(BigDecimal decimal) {
241 setToBigDecimal(decimal);
249 public void setToBigDecimal(BigDecimal decimal) {
250 if (decimal.compareTo(BigDecimal.ZERO) < 0) {
252 decimal = decimal.negate();
256 if (decimal.compareTo(BigDecimal.ZERO) == 0) {
259 fallback = decimal;
844 private static int precisionBigDecimal(BigDecimal decimal) {
845 if (decimal.compareTo(BigDecimal.ZERO) == 0) {
848 return decimal.precision();
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java243 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/Doc/library/
Dnumeric.rst11 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

12345678910>>...55