Home
last modified time | relevance | path

Searched refs:boundary_plus (Results 1 – 2 of 2) sorted by relevance

/external/v8/test/cctest/
Dtest-double.cc142 DiyFp boundary_plus; in TEST() local
145 Double(1.5).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
147 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
150 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
154 Double(1.0).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
156 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
159 CHECK_GT(boundary_plus.f() - diy_fp.f(), diy_fp.f() - boundary_minus.f()); in TEST()
161 CHECK((1 << 10) == boundary_plus.f() - diy_fp.f()); // NOLINT in TEST()
165 Double(min_double64).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
167 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
[all …]
/external/v8/src/
Dfast-dtoa.cc607 DiyFp boundary_minus, boundary_plus; in Grisu3() local
608 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
609 ASSERT(boundary_plus.e() == w.e()); in Grisu3()
635 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
642 DiyFp scaled_boundary_plus = DiyFp::Times(boundary_plus, ten_mk); in Grisu3()