|
dune-common
2.3.1
|
Compute power for a run-time mantissa and a compile-time integer exponent. More...
#include <dune/common/power.hh>
Static Public Member Functions | |
| template<typename T > | |
| static T | eval (const T &a) |
Compute power for a run-time mantissa and a compile-time integer exponent.
Does some magic to create efficient code. Not benchmarked AFAIK.
| p | The exponent |
1.8.7