File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ BOOST_DECIMAL_EXPORT class decimal_fast128_t final
4444{
4545public:
4646 using significand_type = int128::uint128_t ;
47- using exponent_type = std::uint_fast32_t ;
48- using biased_exponent_type = std::int_fast32_t ;
47+ using exponent_type = std::uint32_t ;
48+ using biased_exponent_type = std::int32_t ;
4949
5050private:
5151 // Instead of having to encode and decode at every operation
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ BOOST_DECIMAL_CONSTEXPR_VARIABLE auto d32_fast_snan = std::numeric_limits<std::u
3838BOOST_DECIMAL_EXPORT class decimal_fast32_t final
3939{
4040public:
41- using significand_type = std::uint_fast32_t ;
42- using exponent_type = std::uint_fast8_t ;
43- using biased_exponent_type = std::int_fast32_t ;
41+ using significand_type = std::uint32_t ;
42+ using exponent_type = std::uint8_t ;
43+ using biased_exponent_type = std::int32_t ;
4444
4545private:
4646 // In regular decimal32_t we have to decode the 24 bits of the significand and the 8 bits of the exp
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ BOOST_DECIMAL_CONSTEXPR_VARIABLE auto d64_fast_snan = std::numeric_limits<std::u
4141BOOST_DECIMAL_EXPORT class decimal_fast64_t final
4242{
4343public:
44- using significand_type = std::uint_fast64_t ;
45- using exponent_type = std::uint_fast16_t ;
46- using biased_exponent_type = std::int_fast32_t ;
44+ using significand_type = std::uint64_t ;
45+ using exponent_type = std::uint16_t ;
46+ using biased_exponent_type = std::int32_t ;
4747
4848private:
4949 // In regular decimal64_t we have to decode the significand end exponent
You can’t perform that action at this time.
0 commit comments