Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-double.cc30 DiyFp diy_fp = Double(ordered).AsDiyFp(); in TEST() local
31 CHECK_EQ(0x12 - 0x3FF - 52, diy_fp.e()); in TEST()
33 CHECK(V8_2PART_UINT64_C(0x00134567, 89ABCDEF) == diy_fp.f()); // NOLINT in TEST()
36 diy_fp = Double(min_double64).AsDiyFp(); in TEST()
37 CHECK_EQ(-0x3FF - 52 + 1, diy_fp.e()); in TEST()
39 CHECK(1 == diy_fp.f()); // NOLINT in TEST()
42 diy_fp = Double(max_double64).AsDiyFp(); in TEST()
43 CHECK_EQ(0x7FE - 0x3FF - 52, diy_fp.e()); in TEST()
44 CHECK(V8_2PART_UINT64_C(0x001fffff, ffffffff) == diy_fp.f()); // NOLINT in TEST()
50 DiyFp diy_fp = Double(ordered).AsNormalizedDiyFp(); in TEST() local
[all …]
Dtest-strtod.cc351 DiyFp diy_fp) { in CompareBignumToDiyFp() argument
355 other.AssignUInt64(diy_fp.f()); in CompareBignumToDiyFp()
361 if (diy_fp.e() >= 0) { in CompareBignumToDiyFp()
362 other.ShiftLeft(diy_fp.e()); in CompareBignumToDiyFp()
364 bignum.ShiftLeft(-diy_fp.e()); in CompareBignumToDiyFp()
/external/v8/src/
Ddouble.h54 explicit Double(DiyFp diy_fp) in Double() argument
55 : d64_(DiyFpToUint64(diy_fp)) {} in Double()
208 static uint64_t DiyFpToUint64(DiyFp diy_fp) { in DiyFpToUint64() argument
209 uint64_t significand = diy_fp.f(); in DiyFpToUint64()
210 int exponent = diy_fp.e(); in DiyFpToUint64()