powi

Constructs of the expression raised to the specified (positive or negative) compile-time integral power.

@fmamath
powi
(
int power
T
)
(
const T value
)
if (
is(T == struct)
)

Parameters

power

integral power (compile-time)

value T

expression