mp_units::utility::log2¶
Binary (base-2) logarithm of an uncertain value
Synopsis¶
Declared in <mp-units/utility/uncertain.h>
[[nodiscard]] constexpr uncertain log2(uncertain const& arg)
requires requires { log2(arg.value()); } || requires { std::log2(arg.value()); };
Description¶
NOTE
Formula: σf = |σx / (x × ln(2))|
Return Value¶
Note
The return value should not be discarded.