Skip to content

Function log2

function log2(const T1 &) math

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

Returns the binary (base-2) logarithm of x.

Template parameters
T1 Input numeric type.
Parameters
x Value whose base-2 logarithm is computed (must be non-negative).
Returns
log2(x) as flt_type<T1>.

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

Declared at math/log_exp.hpp:95

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