Home
last modified time | relevance | path

Searched refs:toDouble (Results 1 – 25 of 135) sorted by relevance

123456

/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DJSONTest.kt62 assertEquals(12e32, map["double"].toDouble()) in parseSample()
93 assertEquals(-0.0, parser.parse(values[0]).toDouble()) in testDoubles()
94 assertEquals(1.0, parser.parse(values[1]).toDouble()) in testDoubles()
95 assertEquals(1.7976931348613157, parser.parse(values[2]).toDouble()) in testDoubles()
96 assertEquals(0.0, parser.parse(values[3]).toDouble()) in testDoubles()
97 assertEquals(-0.5, parser.parse(values[4]).toDouble()) in testDoubles()
98 assertEquals(3.141592653589793, parser.parse(values[5]).toDouble()) in testDoubles()
99 assertEquals(2.718281828459045e-3, parser.parse(values[6]).toDouble()) in testDoubles()
100 assertEquals(2.2250738585072014E-308, parser.parse(values[7]).toDouble()) in testDoubles()
101 assertEquals(4.9E-15, parser.parse(values[8]).toDouble()) in testDoubles()
[all …]
DFlexBuffersTest.kt228 assertEquals(12.3, map[1]["bfloat"].toDouble()) in <lambda>()
249 assertEquals(12.3, map["float"].toDouble()) in <lambda>()
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffers.kt263 public fun toDouble(): Double = resolve { pos: Int, width: ByteWidth -> in toDouble() method in com.google.flatbuffers.kotlin.Reference
266 T_INT -> buffer.readInt(pos, width).toDouble() in toDouble()
267 T_UINT, T_BOOL -> buffer.readUInt(pos, width).toDouble() in toDouble()
268 T_INDIRECT_INT -> buffer.readInt(pos, width).toDouble() in toDouble()
269 T_INDIRECT_UINT -> buffer.readUInt(pos, width).toDouble() in toDouble()
271 T_STRING -> toString().toDouble() in toDouble()
272 T_VECTOR -> toVector().size.toDouble() in toDouble()
300 T_FLOAT -> toDouble().toString() in toString()
446 T_VECTOR_FLOAT -> DoubleArray(vec.size) { vec[it].toDouble() } in toDoubleArray()
447 T_VECTOR_INT -> DoubleArray(vec.size) { vec[it].toDouble() } in toDoubleArray()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DExhaustiveNumberTest.java170 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble()
173 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
176 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
199 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DExhaustiveNumberTest.java173 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble()
176 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
179 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
202 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
/third_party/flutter/flutter/dev/devicelab/lib/tasks/
Dbuild_benchmarks.dart78 allResults['first_build_debug_millis'] = initialBuildMilliseconds.toDouble();
79 allResults['second_build_debug_millis'] = secondBuildMilliseconds.toDouble();
80 allResults['after_config_change_build_debug_millis'] = thirdBuildMilliseconds.toDouble();
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/surface/
Dscene.dart19 final double screenWidth = html.window.innerWidth.toDouble();
20 final double screenHeight = html.window.innerHeight.toDouble();
/third_party/flutter/engine/flutter/testing/dart/
Dencoding_test.dart68 final double width = _kWidth.toDouble();
69 final double radius = _kRadius.toDouble();
70 final double innerWidth = (_kWidth - 2 * _kRadius).toDouble();
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dedge_insets.dart542 (left ~/ other).toDouble(),
543 (top ~/ other).toDouble(),
544 (right ~/ other).toDouble(),
545 (bottom ~/ other).toDouble(),
763 (start ~/ other).toDouble(),
764 (top ~/ other).toDouble(),
765 (end ~/ other).toDouble(),
766 (bottom ~/ other).toDouble(),
889 (_left ~/ other).toDouble(),
890 (_right ~/ other).toDouble(),
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp80 d, fq.toDouble()); in checkDoubleBehavior()
281 assertDoubleEquals(u"NaN check failed", NAN, DecimalQuantity().setToDouble(NAN).toDouble()); in testConvertToAccurateDouble()
283 u"Inf check failed", INFINITY, DecimalQuantity().setToDouble(INFINITY).toDouble()); in testConvertToAccurateDouble()
285 u"-Inf check failed", -INFINITY, DecimalQuantity().setToDouble(-INFINITY).toDouble()); in testConvertToAccurateDouble()
413 double actual = q.toDouble(); in testToDouble()
431 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits()
593 double actualDouble = dq.toDouble(); in testScientificAndCompactSuppressedExponent()
/third_party/flutter/flutter/dev/integration_tests/android_semantics_testing/lib/src/
Dcommon.dart133 rect['left'].toDouble(),
134 rect['top'].toDouble(),
135 rect['right'].toDouble(),
136 rect['bottom'].toDouble(),
/third_party/node/deps/icu-small/source/i18n/
Dnumber_usageprefs.cpp168 …const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), &micros.rounder, status); in processQuantity()
205 fUnitConverter->convert(quantity.toDouble(), &micros.rounder, status); in processQuantity()
Dnumparse_parsednumber.cpp84 return quantity.toDouble(); in getDouble()
/third_party/icu/icu4c/source/i18n/
Dnumber_usageprefs.cpp168 …const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), &micros.rounder, status); in processQuantity()
205 fUnitConverter->convert(quantity.toDouble(), &micros.rounder, status); in processQuantity()
Dnumparse_parsednumber.cpp84 return quantity.toDouble(); in getDouble()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_usageprefs.cpp168 …const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), &micros.rounder, status); in processQuantity()
205 fUnitConverter->convert(quantity.toDouble(), &micros.rounder, status); in processQuantity()
Dnumparse_parsednumber.cpp84 return quantity.toDouble(); in getDouble()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dtab_controller.dart99 value: initialIndex.toDouble(),
163 .animateTo(_index.toDouble(), duration: duration, curve: curve)
170 _animationController.value = _index.toDouble();
223 double get offset => _animationController.value - _index.toDouble();
230 _animationController.value = value + _index.toDouble();
/third_party/flutter/flutter/packages/flutter_driver/lib/src/driver/
Dtimeline_summary.dart175 …old<double>(0.0, (double t, Duration duration) => t + duration.inMicroseconds.toDouble() / 1000.0);
183 … = durations.map<double>((Duration duration) => duration.inMicroseconds.toDouble() / 1000.0).toLis…
193 .map<double>((Duration duration) => duration.inMicroseconds.toDouble() / 1000.0)
/third_party/flutter/flutter/dev/benchmarks/macrobenchmarks/lib/src/
Dcull_opacity.dart33 top: (200 * i).toDouble() + _offsetY.value,
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity.java166 public double toDouble(); in toDouble() method
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalQuantity.java168 public double toDouble(); in toDouble() method
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumparse_parsednumber.cpp80 return quantity.toDouble(); in getDouble()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dlist_view_with_inherited_test.dart17 style: TextStyle(fontSize: 2.0 + items.length.toDouble()),
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/transformations/
Dtransformations_demo_board.dart281 q.toDouble(),
282 r.toDouble(),
283 (-q - r).toDouble(),

123456