Test of ConstPower Template.
More...
#include <libalgebra.h>
List of all members.
Public Types |
enum | {
intermediate = ConstPower < arg,
arg,
intermediate = ConstPower < arg,
ans = (intermediate == ConstPower < arg, (ConstPower < exp, 2 >::ans + exp)/2>::ans) && TestConstPower<arg - 1,
ans = (intermediate == ConstPower < arg, (ConstPower < exp, 2 >::ans + exp)/2>::ans) && TestConstPower<arg - 1
} |
Detailed Description
template<unsigned arg, unsigned exp>
struct alg::TestConstPower< arg, exp >
Test of ConstPower Template.
TestConstPower<3,5> tests the ConstPower Template for some the powers x^y with x < 4 and y < 16
The documentation for this struct was generated from the following file: