We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5145c7f commit 14d4bbfCopy full SHA for 14d4bbf
include/boost/decimal/detail/cmath/nan.hpp
@@ -45,16 +45,6 @@ constexpr auto nan_impl(const char* arg) noexcept
45
{
46
return write_payload<TargetDecimalType, is_snan>(payload_value);
47
}
48
-
49
- TargetDecimalType return_value {nan_type};
50
- if (!r)
51
- {
52
- return return_value;
53
- }
54
- else
55
56
- return write_payload<TargetDecimalType, is_snan>(payload_value);
57
58
59
60
template <typename TargetDecimalType, bool is_snan>
0 commit comments