We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9848949 commit e839344Copy full SHA for e839344
include/boost/decimal/gcc_decimal32.hpp
@@ -130,14 +130,17 @@ BOOST_DECIMAL_NO_DISCARD inline auto decode_gccd32_unbiased_exponent(std::uint32
130
{
131
case detail::d32_comb_11_mask:
132
// bits 2 and 3 are the exp part of the combination field
133
- expval = (bits_ & detail::d32_comb_11_exp_bits) >> (detail::d32_significand_bits + 1);
134
- break;
+ expval = (bits_ & detail::d32_comb_11_exp_bits) >> (detail::d32_significand_bits + 1);
+ break;
135
case detail::d32_comb_10_mask:
136
expval = UINT32_C(0b10000000);
137
138
case detail::d32_comb_01_mask:
139
expval = UINT32_C(0b01000000);
140
141
+ case 0U:
142
+ expval = UINT32_C(0b00000000);
143
144
// LCOV_EXCL_START
145
default:
146
BOOST_DECIMAL_UNREACHABLE;
0 commit comments