Skip to content

Commit

Permalink
Remove a bit more unused backend code
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Jan 19, 2025
1 parent ff854af commit ce2ab08
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions include/boost/multiprecision/cpp_double_fp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,31 +745,10 @@ class cpp_double_fp_backend
return *this;
}

constexpr cpp_double_fp_backend operator++(int)
{
cpp_double_fp_backend t(*this);

++(*this);

return t;
}

constexpr cpp_double_fp_backend operator--(int)
{
cpp_double_fp_backend t(*this);

--(*this);

return t;
}

constexpr cpp_double_fp_backend& operator++() { return *this += cpp_double_fp_backend<float_type>(float_type(1.0F)); }
constexpr cpp_double_fp_backend& operator--() { return *this -= cpp_double_fp_backend<float_type>(float_type(1.0F)); }

// Unare minus operator.
constexpr cpp_double_fp_backend operator-() const
{
cpp_double_fp_backend v(*this);
cpp_double_fp_backend v { *this };

v.negate();

Expand Down

0 comments on commit ce2ab08

Please sign in to comment.