Searched refs:Saturating (Results 1 – 2 of 2) sorted by relevance
36 class Saturating; variable54 constexpr bool IsPowerOf2(Saturating<T> x) { in IsPowerOf2()84 constexpr Saturating<T> AlignDown(Saturating<T> x) { in AlignDown()120 constexpr Saturating<T> AlignUp(Saturating<T> x) { in AlignUp()156 constexpr bool IsAligned(Saturating<T> x) { in IsAligned()248 [[nodiscard]] constexpr Saturating<T> CountRZero(Saturating<T> x) { in CountRZero()282 [[nodiscard]] constexpr Saturating<T> Popcount(Saturating<T> x) { in Popcount()347 [[nodiscard]] constexpr operator Saturating<IntType>() const {395 class Saturating {398 using SignedType = Saturating<std::make_signed_t<BaseType>>;[all …]
971 Narrow(Saturating{std::get<0>(Roundoff(978 Narrow(Saturating{std::get<0>(Roundoff(