Skip to content

Function exp2

function exp2(const T1 &) math

template <numeric T1>
KFR_FUNCTION flt_type<T1> exp2(const T1& x)

Returns 2 raised to the given power x.

Template parameters
T1 Input numeric type.
Parameters
x Power to which 2 is raised.
Returns
2^x as flt_type<T1>.

Fully qualified name: kfr::exp2(const T1 &)

Declared at math/log_exp.hpp:56

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.