Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-double.cc154 DiyFp boundary_minus; in TEST() local
156 Double(1.5).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
157 CHECK_EQ(diy_fp.e(), boundary_minus.e()); in TEST()
161 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
162 CHECK((1 << 10) == diy_fp.f() - boundary_minus.f()); // NOLINT in TEST()
165 Double(1.0).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
166 CHECK_EQ(diy_fp.e(), boundary_minus.e()); in TEST()
170 CHECK_GT(boundary_plus.f() - diy_fp.f(), diy_fp.f() - boundary_minus.f()); in TEST()
171 CHECK((1 << 9) == diy_fp.f() - boundary_minus.f()); // NOLINT in TEST()
176 Double(min_double64).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
[all …]
/external/v8/src/
Dfast-dtoa.cc586 DiyFp boundary_minus, boundary_plus; in Grisu3() local
587 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
620 DiyFp scaled_boundary_minus = DiyFp::Times(boundary_minus, ten_mk); in Grisu3()