Home
last modified time | relevance | path

Searched refs:ToDouble (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dgenerate_real_test.cc171 auto ToDouble = [](uint64_t a) { in TEST() local
175 EXPECT_EQ(ToDouble(0x0000000000000000), 2.710505431213761085e-20); in TEST()
176 EXPECT_EQ(ToDouble(0x0000000000000001), 5.42101086242752217004e-20); in TEST()
177 EXPECT_EQ(ToDouble(0x0000000000000002), 1.084202172485504434e-19); in TEST()
178 EXPECT_EQ(ToDouble(0x8000000000000000), 0.5); in TEST()
179 EXPECT_EQ(ToDouble(0x8000000000000001), 0.5); in TEST()
180 EXPECT_EQ(ToDouble(0xFFFFFFFFFFFFFFFF), 0.999999999999999888978); in TEST()
184 auto ToDouble = [](uint64_t a) { in TEST() local
188 EXPECT_EQ(ToDouble(0x0000000000000000), 0.0); in TEST()
189 EXPECT_EQ(ToDouble(0x0000000000000001), 5.42101086242752217004e-20); in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcharconv_test.cc167 double ToDouble(absl::string_view s) { in ToDouble() function
178 EXPECT_EQ(ToDouble("5.e125"), ldexp(6653062250012735, 365)); in TEST()
179 EXPECT_EQ(ToDouble("69.e267"), ldexp(4705683757438170, 841)); in TEST()
180 EXPECT_EQ(ToDouble("999.e-026"), ldexp(6798841691080350, -129)); in TEST()
181 EXPECT_EQ(ToDouble("7861.e-034"), ldexp(8975675289889240, -153)); in TEST()
182 EXPECT_EQ(ToDouble("75569.e-254"), ldexp(6091718967192243, -880)); in TEST()
183 EXPECT_EQ(ToDouble("928609.e-261"), ldexp(7849264900213743, -900)); in TEST()
184 EXPECT_EQ(ToDouble("9210917.e080"), ldexp(8341110837370930, 236)); in TEST()
185 EXPECT_EQ(ToDouble("84863171.e114"), ldexp(4625202867375927, 353)); in TEST()
186 EXPECT_EQ(ToDouble("653777767.e273"), ldexp(5068902999763073, 884)); in TEST()
[all …]
/third_party/node/deps/v8/src/compiler/backend/
Dcode-generator-impl.h45 double InputDouble(size_t index) { return ToDouble(instr_->InputAt(index)); } in InputDouble()
161 double ToDouble(InstructionOperand* op) { in ToDouble() function
/third_party/protobuf/src/google/protobuf/util/internal/
Dobject_writer.cc61 ow->RenderDouble(name, data.ToDouble().value()); in RenderDataPieceTo()
Ddatapiece.h140 util::StatusOr<double> ToDouble() const;
Ddatapiece.cc167 StatusOr<double> DataPiece::ToDouble() const { in ToDouble() function in google::protobuf::util::converter::DataPiece
Ddefault_value_objectwriter.cc440 field.default_value(), &DataPiece::ToDouble, static_cast<double>(0))); in CreateDefaultDataPieceForField()
Dproto_writer.cc225 StatusOr<double> d = data.ToDouble(); in WriteDouble()
Dprotostream_objectwriter.cc963 StatusOr<double> double_value = data.ToDouble(); in RenderStructValue()
/third_party/node/deps/v8/src/base/utils/
Drandom-number-generator.h111 static inline double ToDouble(uint64_t state0) { in ToDouble() function
Drandom-number-generator.cc116 return ToDouble(state0_); in NextDouble()
/third_party/node/deps/v8/src/numbers/
Dmath-random.cc63 cache.set(i, base::RandomNumberGenerator::ToDouble(state.s0)); in RefillCache()
/third_party/skia/experimental/xps_to_png/
Dxps_to_png.cs92 dpi = System.Convert.ToDouble(arg.Remove(0, flag.Length)); in Main()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration_test.cc137 EXPECT_EQ(-dbl_inf, absl::ToDouble##UNIT(-inf)); \ in TEST()
138 EXPECT_EQ(-1.5, absl::ToDouble##UNIT(-d)); \ in TEST()
139 EXPECT_EQ(0, absl::ToDouble##UNIT(z)); \ in TEST()
140 EXPECT_EQ(1.5, absl::ToDouble##UNIT(d)); \ in TEST()
141 EXPECT_EQ(dbl_inf, absl::ToDouble##UNIT(inf)); \ in TEST()
/third_party/node/deps/v8/src/objects/
Dbigint.cc100 static double ToDouble(Handle<BigIntBase> x);
1084 double result = MutableBigInt::ToDouble(x); in ToNumber()
1088 double MutableBigInt::ToDouble(Handle<BigIntBase> x) { in ToDouble() function in v8::internal::MutableBigInt
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp69199 double ToDouble(nsresult* aErrorCode) const;
69209 return (float)ToDouble(aErrorCode); in ToFloat()
69792 double ToDouble(nsresult* aErrorCode) const;
69802 return (float)ToDouble(aErrorCode); in ToFloat()
/third_party/libabigail/tests/data/test-diff-dwarf-abixml/
Dtest0-pr19026-libvtkIOSQL-6.1.so.1.abi5541 …<function-decl name='ToDouble' mangled-name='_ZNK10vtkVariant8ToDoubleEv' filepath='/var/tmp/gambl…