Skip to content

Function logb

function logb(const T1 &) math

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

Returns the unbiased exponent of x as a floating-point value (equivalent to std::logb).

For x equal to zero the result is negative infinity.

Template parameters
T1 Input numeric type.
Parameters
x Input value.
Returns
The exponent of x as flt_type<T1>.

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

Declared at math/log_exp.hpp:124

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