Searched refs:boundary_plus (Results 1 – 2 of 2) sorted by relevance
/external/v8/test/cctest/ |
D | test-double.cc | 153 DiyFp boundary_plus; in TEST() local 156 Double(1.5).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST() 158 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST() 161 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST() 165 Double(1.0).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST() 167 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST() 170 CHECK_GT(boundary_plus.f() - diy_fp.f(), diy_fp.f() - boundary_minus.f()); in TEST() 172 CHECK((1 << 10) == boundary_plus.f() - diy_fp.f()); // NOLINT in TEST() 176 Double(min_double64).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST() 178 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST() [all …]
|
/external/v8/src/ |
D | fast-dtoa.cc | 586 DiyFp boundary_minus, boundary_plus; in Grisu3() local 587 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3() 588 DCHECK(boundary_plus.e() == w.e()); in Grisu3() 614 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3() 621 DiyFp scaled_boundary_plus = DiyFp::Times(boundary_plus, ten_mk); in Grisu3()
|