Home
last modified time | relevance | path

Searched refs:diy_fp (Results 1 – 3 of 3) sorted by relevance

/external/v8/test/cctest/
Dtest-double.cc56 DiyFp diy_fp = Double(ordered).AsDiyFp(); in TEST() local
57 CHECK_EQ(0x12 - 0x3FF - 52, diy_fp.e()); in TEST()
59 CHECK(V8_2PART_UINT64_C(0x00134567, 89ABCDEF) == diy_fp.f()); // NOLINT in TEST()
62 diy_fp = Double(min_double64).AsDiyFp(); in TEST()
63 CHECK_EQ(-0x3FF - 52 + 1, diy_fp.e()); in TEST()
65 CHECK(1 == diy_fp.f()); // NOLINT in TEST()
68 diy_fp = Double(max_double64).AsDiyFp(); in TEST()
69 CHECK_EQ(0x7FE - 0x3FF - 52, diy_fp.e()); in TEST()
70 CHECK(V8_2PART_UINT64_C(0x001fffff, ffffffff) == diy_fp.f()); // NOLINT in TEST()
76 DiyFp diy_fp = Double(ordered).AsNormalizedDiyFp(); in TEST() local
[all …]
Dtest-strtod.cc377 DiyFp diy_fp) { in CompareBignumToDiyFp() argument
381 other.AssignUInt64(diy_fp.f()); in CompareBignumToDiyFp()
387 if (diy_fp.e() >= 0) { in CompareBignumToDiyFp()
388 other.ShiftLeft(diy_fp.e()); in CompareBignumToDiyFp()
390 bignum.ShiftLeft(-diy_fp.e()); in CompareBignumToDiyFp()
/external/v8/src/
Ddouble.h31 explicit Double(DiyFp diy_fp) in Double() argument
32 : d64_(DiyFpToUint64(diy_fp)) {} in Double()
179 static uint64_t DiyFpToUint64(DiyFp diy_fp) { in DiyFpToUint64() argument
180 uint64_t significand = diy_fp.f(); in DiyFpToUint64()
181 int exponent = diy_fp.e(); in DiyFpToUint64()