Lines Matching refs:DiyFp
362 static bool DigitGen(DiyFp low, in DigitGen()
363 DiyFp w, in DigitGen()
364 DiyFp high, in DigitGen()
383 DiyFp too_low = DiyFp(low.f() - unit, low.e()); in DigitGen()
384 DiyFp too_high = DiyFp(high.f() + unit, high.e()); in DigitGen()
387 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low); in DigitGen()
395 DiyFp one = DiyFp(static_cast<uint64_t>(1) << -w.e(), w.e()); in DigitGen()
402 BiggestPowerTen(integrals, DiyFp::kSignificandSize - (-one.e()), in DigitGen()
425 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f(), in DigitGen()
452 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f() * unit, in DigitGen()
488 static bool DigitGenCounted(DiyFp w, in DigitGenCounted()
503 DiyFp one = DiyFp(static_cast<uint64_t>(1) << -w.e(), w.e()); in DigitGenCounted()
510 BiggestPowerTen(integrals, DiyFp::kSignificandSize - (-one.e()), in DigitGenCounted()
581 DiyFp w = Double(v).AsNormalizedDiyFp(); in Grisu3()
586 DiyFp boundary_minus, boundary_plus; in Grisu3()
589 DiyFp ten_mk; // Cached power of ten: 10^-k in Grisu3()
592 kMinimalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3()
594 kMaximalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3()
600 DiyFp::kSignificandSize) && in Grisu3()
602 DiyFp::kSignificandSize)); in Grisu3()
612 DiyFp scaled_w = DiyFp::Times(w, ten_mk); in Grisu3()
614 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
620 DiyFp scaled_boundary_minus = DiyFp::Times(boundary_minus, ten_mk); in Grisu3()
621 DiyFp scaled_boundary_plus = DiyFp::Times(boundary_plus, ten_mk); in Grisu3()
647 DiyFp w = Double(v).AsNormalizedDiyFp(); in Grisu3Counted()
648 DiyFp ten_mk; // Cached power of ten: 10^-k in Grisu3Counted()
651 kMinimalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3Counted()
653 kMaximalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3Counted()
659 DiyFp::kSignificandSize) && in Grisu3Counted()
661 DiyFp::kSignificandSize)); in Grisu3Counted()
671 DiyFp scaled_w = DiyFp::Times(w, ten_mk); in Grisu3Counted()