diff --git a/include/fpm/fixed.hpp b/include/fpm/fixed.hpp index e2e71bf..e46dc64 100644 --- a/include/fpm/fixed.hpp +++ b/include/fpm/fixed.hpp @@ -390,7 +390,7 @@ struct numeric_limits> static constexpr std::float_denorm_style has_denorm = std::denorm_absent; static constexpr bool has_denorm_loss = false; static constexpr std::float_round_style round_style = std::round_to_nearest; - static constexpr bool is_iec_559 = false; + static constexpr bool is_iec559 = false; static constexpr bool is_bounded = true; static constexpr bool is_modulo = std::numeric_limits::is_modulo; static constexpr int digits = std::numeric_limits::digits; @@ -459,7 +459,7 @@ constexpr bool numeric_limits>::has_denorm_loss; template constexpr std::float_round_style numeric_limits>::round_style; template -constexpr bool numeric_limits>::is_iec_559; +constexpr bool numeric_limits>::is_iec559; template constexpr bool numeric_limits>::is_bounded; template diff --git a/tests/customizations.cpp b/tests/customizations.cpp index e27c427..498bd01 100644 --- a/tests/customizations.cpp +++ b/tests/customizations.cpp @@ -98,7 +98,7 @@ TYPED_TEST(customizations, numeric_limits) EXPECT_EQ(L::has_denorm, std::denorm_absent); EXPECT_EQ(L::has_denorm_loss, false); EXPECT_EQ(L::round_style, std::round_to_nearest); - EXPECT_EQ(L::is_iec_559, false); + EXPECT_EQ(L::is_iec559, false); EXPECT_EQ(L::is_bounded, true); EXPECT_EQ(L::is_modulo, false); EXPECT_EQ(L::digits, TL::digits());