Skip to content

Commit

Permalink
Remove a non-covered line
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Aug 26, 2024
1 parent 1b24037 commit 8b71709
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions boost/multiprecision/uintwide_t_backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,7 @@
const uintwide_t_backend<MyWidth2, MyLimbType, MyAllocatorType>& p,
const uintwide_t_backend<MyWidth2, MyLimbType, MyAllocatorType>& m) -> void
{
result.representation() = powm(b.crepresentation(),
p.crepresentation(),
m.crepresentation());
result.representation() = powm(b.crepresentation(), p.crepresentation(), m.crepresentation());
}

template<
Expand All @@ -555,26 +553,6 @@
result.representation() = powm(b.crepresentation(), p.crepresentation(), m);
}

template<
#if defined(WIDE_INTEGER_NAMESPACE)
const WIDE_INTEGER_NAMESPACE::math::wide_integer::size_t MyWidth2,
#else
const ::math::wide_integer::size_t MyWidth2,
#endif
typename MyLimbType,
typename MyAllocatorType,
typename OtherIntegralTypeP,
std::enable_if_t<(std::is_integral<OtherIntegralTypeP>::value)> const* = nullptr>
constexpr auto eval_powm( uintwide_t_backend<MyWidth2, MyLimbType, MyAllocatorType>& result,
const uintwide_t_backend<MyWidth2, MyLimbType, MyAllocatorType>& b,
const OtherIntegralTypeP p,
const uintwide_t_backend<MyWidth2, MyLimbType, MyAllocatorType>& m) -> void
{
result.representation() = powm(b.crepresentation(),
p,
m.crepresentation());
}

template<
#if defined(WIDE_INTEGER_NAMESPACE)
const WIDE_INTEGER_NAMESPACE::math::wide_integer::size_t MyWidth2,
Expand Down

0 comments on commit 8b71709

Please sign in to comment.