Home
last modified time | relevance | path

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

/external/double-conversion/test/cctest/
Dtest-ieee.cc272 DiyFp boundary_plus; in TEST() local
275 Double(1.5).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
277 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
280 CHECK(diy_fp.f() - boundary_minus.f() == boundary_plus.f() - diy_fp.f()); in TEST()
284 Double(1.0).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
286 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
289 CHECK(boundary_plus.f() - diy_fp.f() > diy_fp.f() - boundary_minus.f()); in TEST()
291 CHECK((1 << 10) == boundary_plus.f() - diy_fp.f()); // NOLINT in TEST()
295 Double(min_double64).NormalizedBoundaries(&boundary_minus, &boundary_plus); in TEST()
297 CHECK_EQ(diy_fp.e(), boundary_plus.e()); in TEST()
[all …]
/external/double-conversion/double-conversion/
Dfast-dtoa.cc529 DiyFp boundary_minus, boundary_plus; in Grisu3() local
531 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
535 Single(single_v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
537 DOUBLE_CONVERSION_ASSERT(boundary_plus.e() == w.e()); in Grisu3()
563 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
570 DiyFp scaled_boundary_plus = DiyFp::Times(boundary_plus, ten_mk); in Grisu3()
/external/cronet/third_party/icu/source/i18n/
Ddouble-conversion-fast-dtoa.cpp543 DiyFp boundary_minus, boundary_plus; in Grisu3() local
545 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
549 Single(single_v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
551 DOUBLE_CONVERSION_ASSERT(boundary_plus.e() == w.e()); in Grisu3()
577 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
584 DiyFp scaled_boundary_plus = DiyFp::Times(boundary_plus, ten_mk); in Grisu3()
/external/icu/icu4c/source/i18n/
Ddouble-conversion-fast-dtoa.cpp543 DiyFp boundary_minus, boundary_plus; in Grisu3() local
545 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
549 Single(single_v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
551 DOUBLE_CONVERSION_ASSERT(boundary_plus.e() == w.e()); in Grisu3()
577 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
584 DiyFp scaled_boundary_plus = DiyFp::Times(boundary_plus, ten_mk); in Grisu3()
/external/cronet/base/third_party/double_conversion/double-conversion/
Dfast-dtoa.cc529 DiyFp boundary_minus, boundary_plus; in Grisu3() local
531 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
535 Single(single_v).NormalizedBoundaries(&boundary_minus, &boundary_plus); in Grisu3()
537 DOUBLE_CONVERSION_ASSERT(boundary_plus.e() == w.e()); in Grisu3()
563 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
570 DiyFp scaled_boundary_plus = DiyFp::Times(boundary_plus, ten_mk); in Grisu3()