diff --git a/src/include/units/exponent.h b/src/include/units/exponent.h index a55fc43d..2f713af2 100644 --- a/src/include/units/exponent.h +++ b/src/include/units/exponent.h @@ -37,8 +37,8 @@ namespace units { template struct exponent { using dimension = Dim; - static constexpr int num = Num; - static constexpr int den = Den; + static constexpr std::intmax_t num = Num; + static constexpr std::intmax_t den = Den; }; // is_exponent