We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e06219 commit 9848949Copy full SHA for 9848949
include/boost/decimal/gcc_decimal32.hpp
@@ -34,6 +34,8 @@ BOOST_DECIMAL_EXPORT class gcc_decimal32 final
34
35
private:
36
37
+ static_assert(sizeof(std::decimal::decimal32) == sizeof(std::uint32_t), "Incorrect size detected. std::decimal::decimal32 must be exactly 32 bits");
38
+
39
std::decimal::decimal32 internal_decimal_ {};
40
41
// Returns the un-biased (quantum) exponent
0 commit comments