further cleanups

This commit is contained in:
Ingo Weyrich
2020-02-29 14:19:06 +01:00
parent 8e1bb5ba90
commit be765768ff
4 changed files with 15 additions and 38 deletions

View File

@@ -44,6 +44,12 @@ constexpr T pow4(T x)
return SQR(SQR(x));
}
template<typename T>
constexpr T pow5(T x)
{
return x * pow4(x);
}
template<typename T>
constexpr const T& min(const T& a)
{