Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
log2.hpp File Reference
#include <bit>
#include <cstdint>
#include <limits>
#include <type_traits>
#include <math/constexpr_math/detail.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::math
namespace  sw::math::constexpr_math

Functions

constexpr double sw::math::constexpr_math::log2 (double x)
constexpr float sw::math::constexpr_math::log2 (float x)