|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <quire_traits.hpp>
Static Public Attributes | |
| static constexpr unsigned | fbits = 23u |
| static constexpr unsigned | bias = 127u |
| static constexpr unsigned | max_scale = bias |
| static constexpr unsigned | abs_min_scale = bias + fbits - 1u |
| static constexpr unsigned | radix_point = 2u * abs_min_scale |
| static constexpr unsigned | upper_range = 2u * max_scale + 2u |
| static constexpr unsigned | range = radix_point + upper_range |
| static constexpr unsigned | half_range = (radix_point > upper_range) ? radix_point : upper_range |
| static constexpr unsigned | capacity = 30u |
| static constexpr unsigned | product_fbits = 2u * (fbits + 1u) |
| static constexpr unsigned | qbits = range + capacity |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |