j
k
j a
j l
John Maddock wrote:
Steven Watanabe wrote:
...return (N%2) ? base*positive_power<N-1>::result(base)
return (N%2) ? base*positive_power<N-1>::result(base)
Shouldn't positive_power<N>(base) be reduced to square(positive_power<N/2>(base) or base * square(positive_power<N/2>(base)) depending on N%2? --Johan
Back to the thread
Back to the list