File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
include/boost/decimal/detail/cmath Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ constexpr auto cbrt_impl(const T x) noexcept
6161 remove_trailing_zeros (gn)
6262 };
6363
64- const bool is_pure { static_cast < unsigned >( zeros_removal.trimmed_number ) == 1U };
64+ const bool is_pure { zeros_removal.trimmed_number == 1U };
6565
6666 if (is_pure)
6767 {
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ constexpr auto log10_impl(const T x) noexcept
6363 remove_trailing_zeros (gn)
6464 };
6565
66- const bool is_pure { static_cast < unsigned >( zeros_removal.trimmed_number ) == 1U };
66+ const bool is_pure { zeros_removal.trimmed_number == 1U };
6767
6868 if (is_pure)
6969 {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ constexpr auto sqrt_impl(const T x) noexcept
6161 remove_trailing_zeros (gn)
6262 };
6363
64- const bool is_pure { static_cast < unsigned >( zeros_removal.trimmed_number ) == 1U };
64+ const bool is_pure { zeros_removal.trimmed_number == 1U };
6565
6666 constexpr T one { 1 };
6767
You can’t perform that action at this time.
0 commit comments