Lines Matching refs:UInt
532 template <typename UInt, typename Pred>
533 [[nodiscard]] UInt uint_partition_point(UInt first, const UInt last, Pred pred) {
537 static_assert(is_unsigned_v<UInt>);
540 for (UInt n = last - first; n > 0;) {
541 const UInt n2 = n / 2;
542 const UInt mid = first + n2;
578 template <typename UInt>
579 void print_table(const vector<UInt>& v, const char* const name) {
580 constexpr const char* UIntName = _IsSame<UInt, uint32_t>::value ? "uint32_t" : "uint64_t";
585 if constexpr (_IsSame<UInt, uint32_t>::value) {
600 using UInt = conditional_t<_IsSame<Floating, float>::value, uint32_t, uint64_t>;
602 map<int, map<int, UInt>> P_X_LargestValWithX;
611 const UInt val_beyond_X = uint_partition_point(reinterpret_cast<const UInt&>(first),
612 reinterpret_cast<const UInt&>(last),
613 …[P, X](const UInt u) { return scientific_exponent_X(P, reinterpret_cast<const Floating&>(u)) <= X;…
629 vector<UInt> special;
633 const UInt val = P_X_LargestValWithX[P][X];
642 const UInt val = P_X_LargestValWithX[P][X];
649 vector<UInt> ordinary;
652 const UInt val = P_X_LargestValWithX[MaxP][X];
669 const UInt val1 = P_X_LargestValWithX[P][X];
671 const UInt val2 = val1 + 1;