Skip to content

Commit 5e5ee82

Browse files
committed
Fix lingering use of fast integers
1 parent 41d1c3c commit 5e5ee82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/boost/decimal/decimal64_fast.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ namespace decimal {
3333

3434
namespace detail {
3535

36-
BOOST_DECIMAL_CONSTEXPR_VARIABLE auto d64_fast_inf = std::numeric_limits<std::uint_fast64_t>::max() - 3;
37-
BOOST_DECIMAL_CONSTEXPR_VARIABLE auto d64_fast_qnan = std::numeric_limits<std::uint_fast64_t>::max() - 2;
38-
BOOST_DECIMAL_CONSTEXPR_VARIABLE auto d64_fast_snan = std::numeric_limits<std::uint_fast64_t>::max() - 1;
36+
BOOST_DECIMAL_CONSTEXPR_VARIABLE auto d64_fast_inf = std::numeric_limits<std::uint64_t>::max() - 3;
37+
BOOST_DECIMAL_CONSTEXPR_VARIABLE auto d64_fast_qnan = std::numeric_limits<std::uint64_t>::max() - 2;
38+
BOOST_DECIMAL_CONSTEXPR_VARIABLE auto d64_fast_snan = std::numeric_limits<std::uint64_t>::max() - 1;
3939

4040
} // namespace detail
4141

@@ -1375,7 +1375,7 @@ struct numeric_limits<boost::decimal::decimal_fast64_t>
13751375
static constexpr int min_exponent10 = min_exponent;
13761376
static constexpr int max_exponent = 384;
13771377
static constexpr int max_exponent10 = max_exponent;
1378-
static constexpr bool traps = numeric_limits<std::uint_fast64_t>::traps;
1378+
static constexpr bool traps = numeric_limits<std::uint64_t>::traps;
13791379
static constexpr bool tinyness_before = true;
13801380

13811381
// Member functions

0 commit comments

Comments
 (0)