Lines Matching refs:DiyFp
371 static bool DigitGen(DiyFp low, in DigitGen()
372 DiyFp w, in DigitGen()
373 DiyFp high, in DigitGen()
392 DiyFp too_low = DiyFp(low.f() - unit, low.e()); in DigitGen()
393 DiyFp too_high = DiyFp(high.f() + unit, high.e()); in DigitGen()
396 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low); in DigitGen()
404 DiyFp one = DiyFp(static_cast<uint64_t>(1) << -w.e(), w.e()); in DigitGen()
411 BiggestPowerTen(integrals, DiyFp::kSignificandSize - (-one.e()), in DigitGen()
434 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f(), in DigitGen()
461 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f() * unit, in DigitGen()
497 static bool DigitGenCounted(DiyFp w, in DigitGenCounted()
512 DiyFp one = DiyFp(static_cast<uint64_t>(1) << -w.e(), w.e()); in DigitGenCounted()
519 BiggestPowerTen(integrals, DiyFp::kSignificandSize - (-one.e()), in DigitGenCounted()
590 DiyFp w = Double(v).AsNormalizedDiyFp(); in Grisu3()
595 DiyFp boundary_minus, boundary_plus; in Grisu3()
598 DiyFp ten_mk; // Cached power of ten: 10^-k in Grisu3()
601 kMinimalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3()
603 kMaximalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3()
609 DiyFp::kSignificandSize) && in Grisu3()
611 DiyFp::kSignificandSize)); in Grisu3()
621 DiyFp scaled_w = DiyFp::Times(w, ten_mk); in Grisu3()
623 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
629 DiyFp scaled_boundary_minus = DiyFp::Times(boundary_minus, ten_mk); in Grisu3()
630 DiyFp scaled_boundary_plus = DiyFp::Times(boundary_plus, ten_mk); in Grisu3()
656 DiyFp w = Double(v).AsNormalizedDiyFp(); in Grisu3Counted()
657 DiyFp ten_mk; // Cached power of ten: 10^-k in Grisu3Counted()
660 kMinimalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3Counted()
662 kMaximalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3Counted()
668 DiyFp::kSignificandSize) && in Grisu3Counted()
670 DiyFp::kSignificandSize)); in Grisu3Counted()
680 DiyFp scaled_w = DiyFp::Times(w, ten_mk); in Grisu3Counted()