Skip to content

function exp2(E1 &&) base

template <expression_argument E1>
KFR_FUNCTION expression_make_function<fn::exp2, E1> exp2(E1&& x)

Returns 2 raised to the given power x. Accepts and returns expressions.

Defined at base/math_expressions.hpp:428