Home | History | Annotate | Download | only in internal

Lines Matching refs:IntegerType

141 template <typename IntegerType>
142 IntegerType RoundingHalfSum(IntegerType a, IntegerType b) {
143 static_assert(std::is_same<IntegerType, void>::value, "unimplemented");
156 template <typename IntegerType>
157 IntegerType SaturatingRoundingDoublingHighMul(IntegerType a, IntegerType b) {
158 static_assert(std::is_same<IntegerType, void>::value, "unimplemented");
175 template <int Exponent, typename IntegerType,
179 template <int Exponent, typename IntegerType>
180 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, IntegerType, 0> {
181 static IntegerType eval(IntegerType x) { return x; }
204 template <int Exponent, typename IntegerType>
205 IntegerType SaturatingRoundingMultiplyByPOT(IntegerType x) {
206 return ImplSaturatingRoundingMultiplyByPOT<Exponent, IntegerType>::eval(x);