@@ -1428,45 +1428,45 @@ struct numeric_limits<boost::decimal::decimal128_fast>
14281428 public:
14291429#endif
14301430
1431- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool is_specialized = true ;
1432- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool is_signed = true ;
1433- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool is_integer = false ;
1434- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool is_exact = false ;
1435- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool has_infinity = true ;
1436- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool has_quiet_NaN = true ;
1437- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool has_signaling_NaN = true ;
1431+ static constexpr bool is_specialized = true ;
1432+ static constexpr bool is_signed = true ;
1433+ static constexpr bool is_integer = false ;
1434+ static constexpr bool is_exact = false ;
1435+ static constexpr bool has_infinity = true ;
1436+ static constexpr bool has_quiet_NaN = true ;
1437+ static constexpr bool has_signaling_NaN = true ;
14381438
14391439 // These members were deprecated in C++23
14401440 #if ((!defined(_MSC_VER) && (__cplusplus <= 202002L)) || (defined(_MSC_VER) && (_MSVC_LANG <= 202002L)))
1441- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr std::float_denorm_style has_denorm = std::denorm_present;
1442- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool has_denorm_loss = true ;
1441+ static constexpr std::float_denorm_style has_denorm = std::denorm_present;
1442+ static constexpr bool has_denorm_loss = true ;
14431443 #endif
14441444
1445- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr std::float_round_style round_style = std::round_indeterminate;
1446- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool is_iec559 = false ;
1447- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool is_bounded = true ;
1448- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool is_modulo = false ;
1449- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int digits = 34 ;
1450- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int digits10 = digits;
1451- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int max_digits10 = digits;
1452- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int radix = 10 ;
1453- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int min_exponent = -6142 ;
1454- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int min_exponent10 = min_exponent;
1455- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int max_exponent = 6145 ;
1456- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr int max_exponent10 = max_exponent;
1457- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool traps = numeric_limits<std::uint64_t >::traps;
1458- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr bool tinyness_before = true ;
1445+ static constexpr std::float_round_style round_style = std::round_indeterminate;
1446+ static constexpr bool is_iec559 = false ;
1447+ static constexpr bool is_bounded = true ;
1448+ static constexpr bool is_modulo = false ;
1449+ static constexpr int digits = 34 ;
1450+ static constexpr int digits10 = digits;
1451+ static constexpr int max_digits10 = digits;
1452+ static constexpr int radix = 10 ;
1453+ static constexpr int min_exponent = -6142 ;
1454+ static constexpr int min_exponent10 = min_exponent;
1455+ static constexpr int max_exponent = 6145 ;
1456+ static constexpr int max_exponent10 = max_exponent;
1457+ static constexpr bool traps = numeric_limits<std::uint64_t >::traps;
1458+ static constexpr bool tinyness_before = true ;
14591459
14601460 // Member functions
1461- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto (min) () -> boost::decimal::decimal128_fast { return {1 , min_exponent}; }
1462- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto (max) () -> boost::decimal::decimal128_fast { return {boost::decimal::detail::uint128{UINT64_C (999'999'999'999'999 ), UINT64_C (9'999'999'999'999'999'999 )}, max_exponent}; }
1463- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto lowest () -> boost::decimal::decimal128_fast { return {boost::decimal::detail::uint128{UINT64_C (999'999'999'999'999 ), UINT64_C (9'999'999'999'999'999'999 )}, max_exponent, true }; }
1464- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto epsilon () -> boost::decimal::decimal128_fast { return {1 , -34 }; }
1465- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto round_error () -> boost::decimal::decimal128_fast { return epsilon (); }
1466- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto infinity () -> boost::decimal::decimal128_fast { return boost::decimal::direct_init_d128 (boost::decimal::detail::d128_fast_inf, 0 , false ); }
1467- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto quiet_NaN () -> boost::decimal::decimal128_fast { return boost::decimal::direct_init_d128 (boost::decimal::detail::d128_fast_qnan, 0 , false ); }
1468- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto signaling_NaN () -> boost::decimal::decimal128_fast { return boost::decimal::direct_init_d128 (boost::decimal::detail::d128_fast_snan, 0 , false ); }
1469- BOOST_DECIMAL_ATTRIBUTE_UNUSED static constexpr auto denorm_min () -> boost::decimal::decimal128_fast { return {1 , boost::decimal::detail::etiny_v<boost::decimal::decimal128>}; }
1461+ static constexpr auto (min) () -> boost::decimal::decimal128_fast { return {1 , min_exponent}; }
1462+ static constexpr auto (max) () -> boost::decimal::decimal128_fast { return {boost::decimal::detail::uint128{UINT64_C (999'999'999'999'999 ), UINT64_C (9'999'999'999'999'999'999 )}, max_exponent}; }
1463+ static constexpr auto lowest () -> boost::decimal::decimal128_fast { return {boost::decimal::detail::uint128{UINT64_C (999'999'999'999'999 ), UINT64_C (9'999'999'999'999'999'999 )}, max_exponent, true }; }
1464+ static constexpr auto epsilon () -> boost::decimal::decimal128_fast { return {1 , -34 }; }
1465+ static constexpr auto round_error () -> boost::decimal::decimal128_fast { return epsilon (); }
1466+ static constexpr auto infinity () -> boost::decimal::decimal128_fast { return boost::decimal::direct_init_d128 (boost::decimal::detail::d128_fast_inf, 0 , false ); }
1467+ static constexpr auto quiet_NaN () -> boost::decimal::decimal128_fast { return boost::decimal::direct_init_d128 (boost::decimal::detail::d128_fast_qnan, 0 , false ); }
1468+ static constexpr auto signaling_NaN () -> boost::decimal::decimal128_fast { return boost::decimal::direct_init_d128 (boost::decimal::detail::d128_fast_snan, 0 , false ); }
1469+ static constexpr auto denorm_min () -> boost::decimal::decimal128_fast { return {1 , boost::decimal::detail::etiny_v<boost::decimal::decimal128>}; }
14701470};
14711471
14721472}
0 commit comments