Closed vhirtham closed 6 years ago
Create a template function like this
template <int _exp, typename _type> constexpr inline _type Pow(_type value)
which basically rewrites
Pow<3>(3.f);
to
value = 3.f; value * value * value;
Implemented in commit 9784a6aa0b85f6b45d203ada23eabe23591f796
Create a template function like this
which basically rewrites
to