File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ class SFixed
3636 using ShiftType = FIXED_POINTS_DETAILS::LeastUInt<(Integer + 1 ) + Fraction>;
3737 using MaskType = FIXED_POINTS_DETAILS::LeastUInt<(Integer + 1 ) + Fraction>;
3838
39- constexpr const static unsigned IntegerSize = Integer + 1 ;
40- constexpr const static unsigned FractionSize = Fraction;
41- constexpr const static unsigned LogicalSize = IntegerSize + FractionSize;
42- constexpr const static unsigned InternalSize = FIXED_POINTS_DETAILS::BitSize<InternalType>::Value;
39+ constexpr const static uintmax_t IntegerSize = Integer + 1 ;
40+ constexpr const static uintmax_t FractionSize = Fraction;
41+ constexpr const static uintmax_t LogicalSize = IntegerSize + FractionSize;
42+ constexpr const static uintmax_t InternalSize = FIXED_POINTS_DETAILS::BitSize<InternalType>::Value;
4343
44- constexpr const static unsigned long long Scale = 1ULL << FractionSize;
44+ constexpr const static uintmax_t Scale = 1ULL << FractionSize;
4545
4646public:
4747 constexpr const static ShiftType IntegerShift = FractionSize;
You can’t perform that action at this time.
0 commit comments