You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static_assert(((Integer + 1) * 2 + Fraction * 2) <= FIXED_POINTS_DETAILS::BitSize<intmax_t>::Value, "Multiplication cannot be performed, the result type would be too large");
25
+
24
26
using ResultType = SFixed<Integer * 2, Fraction * 2>;
25
27
using InternalType = typename ResultType::InternalType;
static_assert(((Integer + 1) * 2 + Fraction * 2) <= FIXED_POINTS_DETAILS::BitSize<intmax_t>::Value, "Multiplication cannot be performed, the intermediary type would be too large");
175
+
172
176
using InternalType = typename SFixed<Integer, Fraction>::InternalType;
173
177
using PrecisionType = typename SFixed<Integer * 2, Fraction * 2>::InternalType;
static_assert((Integer * 2 + Fraction * 2) <= FIXED_POINTS_DETAILS::BitSize<uintmax_t>::Value, "Multiplication cannot be performed, the result type would be too large");
25
+
24
26
using ResultType = UFixed<Integer * 2, Fraction * 2>;
25
27
using InternalType = typename ResultType::InternalType;
static_assert((Integer * 2 + Fraction * 2) <= FIXED_POINTS_DETAILS::BitSize<uintmax_t>::Value, "Multiplication cannot be performed, the intermediary type would be too large");
175
+
172
176
using InternalType = typename UFixed<Integer, Fraction>::InternalType;
173
177
using PrecisionType = typename UFixed<Integer * 2, Fraction * 2>::InternalType;
0 commit comments