Home
last modified time | relevance | path

Searched refs:Double (Results 1 - 25 of 303) sorted by relevance

12345678910>>...13

/third_party/icu/vendor/double-conversion/upstream/test/cctest/
H A Dtest-ieee.cc43 CHECK_EQ(3512700564088504e-318, Double(ordered).value()); in TEST()
46 CHECK_EQ(5e-324, Double(min_double64).value()); in TEST()
49 CHECK_EQ(1.7976931348623157e308, Double(max_double64).value()); in TEST()
68 DiyFp diy_fp = Double(ordered).AsDiyFp(); in TEST()
74 diy_fp = Double(min_double64).AsDiyFp(); in TEST()
80 diy_fp = Double(max_double64).AsDiyFp(); in TEST()
108 DiyFp diy_fp = Double(ordered).AsNormalizedDiyFp(); in TEST()
114 diy_fp = Double(min_double64).AsNormalizedDiyFp(); in TEST()
120 diy_fp = Double(max_double64).AsNormalizedDiyFp(); in TEST()
129 CHECK(Double(min_double6 in TEST()
[all...]
H A Dtest-conversions.cc253 CHECK(!dc5.ToShortest(Double::Infinity(), &builder)); in TEST()
256 CHECK(!dc5.ToShortest(-Double::Infinity(), &builder)); in TEST()
259 CHECK(!dc5.ToShortest(Double::NaN(), &builder)); in TEST()
262 CHECK(!dc5.ToShortest(-Double::NaN(), &builder)); in TEST()
267 CHECK(dc6.ToShortest(Double::Infinity(), &builder)); in TEST()
271 CHECK(dc6.ToShortest(-Double::Infinity(), &builder)); in TEST()
275 CHECK(dc6.ToShortest(Double::NaN(), &builder)); in TEST()
279 CHECK(dc6.ToShortest(-Double::NaN(), &builder)); in TEST()
756 CHECK(!dc8.ToFixed(Double::Infinity(), 1, &builder)); in TEST()
759 CHECK(!dc8.ToFixed(-Double in TEST()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DLocalePriorityList.java74 private static final Double D1 = 1.0d;
79 private final Map<ULocale, Double> languagesAndWeights;
136 public Double getWeight(ULocale locale) { in getWeight()
158 for (Entry<ULocale, Double> entry : languagesAndWeights.entrySet()) { in toString()
213 private LocalePriorityList(final Map<ULocale, Double> languageToWeight) { in LocalePriorityList()
226 private Map<ULocale, Double> languageToWeight;
243 for (Double value : list.languagesAndWeights.values()) { in Builder()
277 Map<ULocale, Double> temp; in build()
280 final TreeMap<Double, List<ULocale>> weightToLanguages = in build()
282 for (Entry<ULocale, Double> entr in build()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DLocalePriorityList.java75 private static final Double D1 = 1.0d;
80 private final Map<ULocale, Double> languagesAndWeights;
132 public Double getWeight(ULocale locale) { in getWeight()
153 for (Entry<ULocale, Double> entry : languagesAndWeights.entrySet()) { in toString()
205 private LocalePriorityList(final Map<ULocale, Double> languageToWeight) { in LocalePriorityList()
218 private Map<ULocale, Double> languageToWeight;
235 for (Double value : list.languagesAndWeights.values()) { in Builder()
267 Map<ULocale, Double> temp; in build()
270 final TreeMap<Double, List<ULocale>> weightToLanguages = in build()
272 for (Entry<ULocale, Double> entr in build()
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DDoubleArrayList.java45 final class DoubleArrayList extends AbstractProtobufList<Double>
106 if (Double.doubleToLongBits(array[i]) != Double.doubleToLongBits(arr[i])) { in equals()
118 long bits = Double.doubleToLongBits(array[i]); in hashCode()
133 public Double get(int index) { in get()
145 if (!(element instanceof Double)) { in indexOf()
148 double unboxedElement = (Double) element; in indexOf()
169 public Double set(int index, Double element) { in set()
183 public boolean add(Double elemen
[all...]
/third_party/node/deps/v8/src/base/numbers/
H A Dbignum-dtoa.cc18 while ((significand & Double::kHiddenBit) == 0) { in NormalizedExponent()
64 DCHECK(!Double(v).IsSpecial()); in BignumDtoa()
65 uint64_t significand = Double(v).Significand(); in BignumDtoa()
67 int exponent = Double(v).Exponent(); in BignumDtoa()
371 numerator->AssignUInt64(Double(v).Significand()); in InitialScaledStartValuesPositiveExponent()
372 numerator->ShiftLeft(Double(v).Exponent()); in InitialScaledStartValuesPositiveExponent()
384 delta_plus->ShiftLeft(Double(v).Exponent()); in InitialScaledStartValuesPositiveExponent()
387 delta_minus->ShiftLeft(Double(v).Exponent()); in InitialScaledStartValuesPositiveExponent()
394 uint64_t v_bits = Double(v).AsUint64(); in InitialScaledStartValuesPositiveExponent()
395 if ((v_bits & Double in InitialScaledStartValuesPositiveExponent()
[all...]
H A Ddouble.h19 class Double { class
29 Double() : d64_(0) {} in Double() function in v8::base::Double
30 explicit Double(double d) : d64_(double_to_uint64(d)) {} in Double() function in v8::base::Double
31 explicit Double(uint64_t d64) : d64_(d64) {} in Double() function in v8::base::Double
32 explicit Double(DiyFp diy_fp) : d64_(DiyFpToUint64(diy_fp)) {} in Double() function in v8::base::Double
34 // The value encoded by this Double must be greater or equal to +0.0.
42 // The value encoded by this Double must be strictly greater than 0.
64 if (d64_ == kInfinity) return Double(kInfinity).value(); in NextDouble()
70 return Double(d64_ - 1).value(); in NextDouble()
72 return Double(d64 in NextDouble()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DBigNumberFormatTest.java192 new Number[] { new Double(12345.678901), in TestScientific()
197 new Double(12345), in TestScientific()
200 new Double(12345.00001), in TestScientific()
216 new Double(12345.678901), in TestScientific()
219 new Double(789.12345e-9), in TestScientific()
222 new Double(780.e-9), in TestScientific()
225 new Double(45678), in TestScientific()
247 new Object[] { new Double(0.0000123), "12.3E-6", in TestScientific()
248 new Double(0.000123), "123E-6", in TestScientific()
249 new java.math.BigDecimal("0.00123"), "1.23E-3", // Cafe VM messes up Double(0.0012 in TestScientific()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DPluralSamples.java40 private final Map<String, List<Double>> _keySamplesMap;
72 Map<String, List<Double>> sampleMap = new HashMap<String, List<Double>>(); in PluralSamples()
125 sampleMap.put(k, Collections.<Double>emptyList()); in PluralSamples()
134 for (Entry<String, List<Double>> entry : sampleMap.entrySet()) { in PluralSamples()
145 private int addSimpleSamples(PluralRules pluralRules, final int MAX_SAMPLES, Map<String, List<Double>> sampleMap, in addSimpleSamples()
150 List<Double> list = sampleMap.get(keyword); in addSimpleSamples()
152 list = new ArrayList<Double>(MAX_SAMPLES); in addSimpleSamples()
157 list.add(Double.valueOf(val)); in addSimpleSamples()
247 public KeywordStatus getStatus(String keyword, int offset, Set<Double> explicit
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DBigNumberFormatTest.java195 new Number[] { new Double(12345.678901), in TestScientific()
200 new Double(12345), in TestScientific()
203 new Double(12345.00001), in TestScientific()
219 new Double(12345.678901), in TestScientific()
222 new Double(789.12345e-9), in TestScientific()
225 new Double(780.e-9), in TestScientific()
228 new Double(45678), in TestScientific()
250 new Object[] { new Double(0.0000123), "12.3E-6", in TestScientific()
251 new Double(0.000123), "123E-6", in TestScientific()
252 new java.math.BigDecimal("0.00123"), "1.23E-3", // Cafe VM messes up Double(0.0012 in TestScientific()
[all...]
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
H A Dieee.h42 class Double { class
54 Double() : d64_(0) {} in Double() function in double_conversion::Double
55 explicit Double(double d) : d64_(double_to_uint64(d)) {} in Double() function in double_conversion::Double
56 explicit Double(uint64_t d64) : d64_(d64) {} in Double() function in double_conversion::Double
57 explicit Double(DiyFp diy_fp) in Double() function in double_conversion::Double
60 // The value encoded by this Double must be greater or equal to +0.0.
68 // The value encoded by this Double must be strictly greater than 0.
92 if (d64_ == kInfinity) return Double(kInfinity).value(); in NextDouble()
98 return Double(d64_ - 1).value(); in NextDouble()
100 return Double(d64 in NextDouble()
[all...]
H A Dstrtod.cc334 Double::SignificandSizeForOrderOfMagnitude(order_of_magnitude);
368 *result = Double(rounded_input).value();
426 *guess = Double::Infinity();
438 if (*guess == Double::Infinity()) {
474 DiyFp upper_boundary = Double(guess).UpperBoundary();
479 return Double(guess).NextDouble();
480 } else if ((Double(guess).Significand() & 1) == 0) {
484 return Double(guess).NextDouble();
558 double double_next = Double(double_guess).NextDouble();
559 double double_previous = Double(double_gues
[all...]
/third_party/icu/icu4c/source/i18n/
H A Ddouble-conversion-ieee.h56 class Double { class
68 Double() : d64_(0) {} in Double() function in double_conversion::Double
69 explicit Double(double d) : d64_(double_to_uint64(d)) {} in Double() function in double_conversion::Double
70 explicit Double(uint64_t d64) : d64_(d64) {} in Double() function in double_conversion::Double
71 explicit Double(DiyFp diy_fp) in Double() function in double_conversion::Double
74 // The value encoded by this Double must be greater or equal to +0.0.
82 // The value encoded by this Double must be strictly greater than 0.
106 if (d64_ == kInfinity) return Double(kInfinity).value(); in NextDouble()
112 return Double(d64_ - 1).value(); in NextDouble()
114 return Double(d64 in NextDouble()
[all...]
H A Ddouble-conversion-strtod.cpp348 Double::SignificandSizeForOrderOfMagnitude(order_of_magnitude);
382 *result = Double(rounded_input).value();
440 *guess = Double::Infinity();
452 if (*guess == Double::Infinity()) {
490 DiyFp upper_boundary = Double(guess).UpperBoundary();
495 return Double(guess).NextDouble();
496 } else if ((Double(guess).Significand() & 1) == 0) {
500 return Double(guess).NextDouble();
574 double double_next = Double(double_guess).NextDouble();
575 double double_previous = Double(double_gues
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Ddouble-conversion-ieee.h56 class Double { class
68 Double() : d64_(0) {} in Double() function in double_conversion::Double
69 explicit Double(double d) : d64_(double_to_uint64(d)) {} in Double() function in double_conversion::Double
70 explicit Double(uint64_t d64) : d64_(d64) {} in Double() function in double_conversion::Double
71 explicit Double(DiyFp diy_fp) in Double() function in double_conversion::Double
74 // The value encoded by this Double must be greater or equal to +0.0.
82 // The value encoded by this Double must be strictly greater than 0.
106 if (d64_ == kInfinity) return Double(kInfinity).value(); in NextDouble()
112 return Double(d64_ - 1).value(); in NextDouble()
114 return Double(d64 in NextDouble()
[all...]
H A Ddouble-conversion-strtod.cpp348 Double::SignificandSizeForOrderOfMagnitude(order_of_magnitude);
382 *result = Double(rounded_input).value();
440 *guess = Double::Infinity();
452 if (*guess == Double::Infinity()) {
490 DiyFp upper_boundary = Double(guess).UpperBoundary();
495 return Double(guess).NextDouble();
496 } else if ((Double(guess).Significand() & 1) == 0) {
500 return Double(guess).NextDouble();
574 double double_next = Double(double_guess).NextDouble();
575 double double_previous = Double(double_gues
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ddouble-conversion-ieee.h56 class Double { class
68 Double() : d64_(0) {} in Double() function in double_conversion::Double
69 explicit Double(double d) : d64_(double_to_uint64(d)) {} in Double() function in double_conversion::Double
70 explicit Double(uint64_t d64) : d64_(d64) {} in Double() function in double_conversion::Double
71 explicit Double(DiyFp diy_fp) in Double() function in double_conversion::Double
74 // The value encoded by this Double must be greater or equal to +0.0.
82 // The value encoded by this Double must be strictly greater than 0.
106 if (d64_ == kInfinity) return Double(kInfinity).value(); in NextDouble()
112 return Double(d64_ - 1).value(); in NextDouble()
114 return Double(d64 in NextDouble()
[all...]
H A Ddouble-conversion-strtod.cpp348 Double::SignificandSizeForOrderOfMagnitude(order_of_magnitude);
382 *result = Double(rounded_input).value();
440 *guess = Double::Infinity();
452 if (*guess == Double::Infinity()) {
490 DiyFp upper_boundary = Double(guess).UpperBoundary();
495 return Double(guess).NextDouble();
496 } else if ((Double(guess).Significand() & 1) == 0) {
500 return Double(guess).NextDouble();
574 double double_next = Double(double_guess).NextDouble();
575 double double_previous = Double(double_gues
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DExhaustiveNumberTest.java172 Double.NaN, in testConvertToAccurateDouble()
173 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble()
175 Double.POSITIVE_INFINITY, in testConvertToAccurateDouble()
176 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
178 Double.NEGATIVE_INFINITY, in testConvertToAccurateDouble()
179 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
185 double d = Double.longBitsToDouble(rnd.nextLong()); in testConvertToAccurateDouble()
186 if (Double.isNaN(d) || Double.isInfinite(d)) in testConvertToAccurateDouble()
204 new BigDecimal(Double in checkDoubleBehavior()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DExhaustiveNumberTest.java171 Double.NaN, in testConvertToAccurateDouble()
172 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble()
174 Double.POSITIVE_INFINITY, in testConvertToAccurateDouble()
175 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
177 Double.NEGATIVE_INFINITY, in testConvertToAccurateDouble()
178 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
184 double d = Double.longBitsToDouble(rnd.nextLong()); in testConvertToAccurateDouble()
185 if (Double.isNaN(d) || Double.isInfinite(d)) in testConvertToAccurateDouble()
203 new BigDecimal(Double in checkDoubleBehavior()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DAPFloat.h29 return U.Double.METHOD_CALL; \
700 DoubleAPFloat Double; member
704 : Double(std::move(F)) { in Storage()
715 new (&Double) DoubleAPFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage()
727 Double.~DoubleAPFloat(); in ~Storage()
739 new (this) DoubleAPFloat(RHS.Double); in Storage()
751 new (this) DoubleAPFloat(std::move(RHS.Double)); in Storage()
763 Double = RHS.Double; in operator =()
777 Double in operator =()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DAPFloat.h662 DoubleAPFloat Double; member
666 : Double(std::move(F)) { in Storage()
677 new (&Double) DoubleAPFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage()
689 Double.~DoubleAPFloat(); in ~Storage()
701 new (this) DoubleAPFloat(RHS.Double); in Storage()
713 new (this) DoubleAPFloat(std::move(RHS.Double)); in Storage()
725 Double = RHS.Double; in operator =()
739 Double = std::move(RHS.Double); in operator =()
[all...]
/third_party/node/deps/v8/src/asmjs/
H A Dasm-parser.cc86 auto* d = AsmType::Double(); in InitializeStdlibTypes()
153 if (param->IsA(AsmType::Double())) { in ConvertSignature()
164 if (return_type->IsA(AsmType::Double())) { in ConvertSignature()
453 DeclareGlobal(info, mutable_variable, AsmType::Double(), kWasmF64, in ValidateModuleVar()
464 DeclareGlobal(info, mutable_variable, AsmType::Double(), kWasmF64, in ValidateModuleVar()
509 !src_info->type->IsA(AsmType::Double())) { in ValidateModuleVarFromGlobal()
551 AddGlobalImport(name, AsmType::Double(), kWasmF64, mutable_variable, info); in ValidateModuleVarImport()
600 DeclareGlobal(info, false, AsmType::Double(), kWasmF64, \ in ValidateModuleVarStdlib()
617 DeclareGlobal(info, false, AsmType::Double(), kWasmF64, in ValidateModuleVarStdlib()
621 DeclareGlobal(info, false, AsmType::Double(), kWasmF6 in ValidateModuleVarStdlib()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dtest_fcmp_main.cpp29 extern "C" bool fcmp##cmp##Double(double a, double b); \
31 extern "C" int fcmpSelect##cmp##Double(double a, double b, int c, int d); \
34 extern "C" bool Subzero_fcmp##cmp##Double(double a, double b); \
37 extern "C" int Subzero_fcmpSelect##cmp##Double(double a, double b, int c, \
83 fcmp##cmp##Float, Subzero_fcmp##cmp##Double, \
84 fcmp##cmp##Double, Subzero_fcmpSelect##cmp##Float, \
85 fcmpSelect##cmp##Float, Subzero_fcmpSelect##cmp##Double, \
86 fcmpSelect##cmp##Double},
121 std::cout << Funcs[f].Name << "Double(" << Value1Double << ", "
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDoubleArrayListTest.java77 Iterator<Double> iterator = list.iterator(); in testModificationWithIteration()
286 list.add(Double.valueOf(5 + i)); in testAdd()
327 assertFalse(list.addAll(Collections.<Double>emptyList())); in testAddAll()
335 list1.addDouble(Double.longBitsToDouble(0x7ff0000000000001L)); in testEquals()
336 list2.addDouble(Double.longBitsToDouble(0x7ff0000000000002L)); in testEquals()
345 assertTrue(list.remove(Double.valueOf(3))); in testRemove()
348 assertFalse(list.remove(Double.valueOf(3))); in testRemove()
411 list.addAll(Collections.<Double>emptyList()); in assertImmutable()
453 list.addAll(0, Collections.<Double>emptyList()); in assertImmutable()
488 list.removeAll(Collections.<Double>emptyLis in assertImmutable()
[all...]

Completed in 19 milliseconds

12345678910>>...13