Template Function librapid::exp10(T)#

Function Documentation#

template<typename T, typename std::enable_if_t<std::is_fundamental_v<T>, int> = 0>
constexpr auto librapid::exp10(T val)#

will cast the input value to a floating point type before calculating the exponential.

Template Parameters

T – Data type

Parameters

val – Input value

Returns

10 raised to the input value