error-prone (it's easy to forget an occurrence), syntactically bulky, and
non-optimal in terms of performance.
-The pow function of Boost.Math helps writing this kind expression along
+The `pow` function of Boost.Math helps writing this kind expression along
with solving all the problems listed above:
// 8th power of a 'base' variable using math::pow
double result = pow<-5>(base);
-
[h4 Acknowledgements]
Bruno Lalande submitted this addition to Boost.Math.
D.E. Knuth, ['The Art of Computer Programming, Vol. 2: Seminumerical Algorithms], 2nd ed., Addison-Wesley, Reading, MA, 1981
-[endsect]
+[endsect] [/section:ct_pow Compile Time Power of a Runtime Base]
+
[/
Copyright 2008 Bruno Lalande.