|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <limits>#include <universal/number/sorn/sorn_fwd.hpp>#include <universal/number/shared/specific_value_encoding.hpp>Classes | |
| struct | sw::universal::sorn_limits::lattice< start, stop, steps, lin > |
| class | std::numeric_limits< sw::universal::sorn< _start, _stop, _steps, _lin, _halfopen, _neg, _inf, _zero > > |
Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
| namespace | sw::universal::sorn_limits |
| namespace | std |
| STL namespace. | |
Functions | |
| constexpr float | sw::universal::sorn_limits::pow2 (int e) |
| constexpr int | sw::universal::sorn_limits::floor_log2 (float v) |
| constexpr int | sw::universal::sorn_limits::ceil_log2 (float v) |
| constexpr int | sw::universal::sorn_limits::floor_log10 (double v) |
| constexpr int | sw::universal::sorn_limits::ceil_log10 (double v) |
Variables | |
| constexpr float | sw::universal::sorn_limits::kInf = std::numeric_limits<float>::infinity() |