Speedup and bugfix for new Sh/Hl tool
This commit is contained in:
@@ -38,6 +38,12 @@ constexpr T SQR(T x)
|
||||
return x * x;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
constexpr T pow4(T x)
|
||||
{
|
||||
return SQR(SQR(x));
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
constexpr const T& min(const T& a)
|
||||
{
|
||||
|
Reference in New Issue
Block a user