Skip to content

Commit e5eb072

Browse files
committed
Fix decimal_fast32_t normalization in constructor
1 parent dcb102a commit e5eb072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/decimal/decimal_fast32_t.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ constexpr decimal_fast32_t::decimal_fast32_t(T1 coeff, T2 exp, bool sign) noexce
419419
sign_ = sign;
420420

421421
// Normalize in the constructor, so we never have to worry about it again
422-
detail::normalize<decimal32_t>(min_coeff, exp, sign);
422+
detail::normalize<decimal_fast32_t>(min_coeff, exp, sign);
423423

424424
significand_ = static_cast<significand_type>(min_coeff);
425425

0 commit comments

Comments
 (0)