|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstdint>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Variables | |
| static constexpr double | sw::universal::oneOver2p6 = 0.015625 |
| static constexpr double | sw::universal::oneOver2p14 = 0.00006103515625 |
| static constexpr double | sw::universal::oneOver2p30 = 1.0 / 1073741824.0 |
| static constexpr double | sw::universal::oneOver2p50 = 1.0 / 1125899906842624.0 |
| static constexpr double | sw::universal::oneOver2p62 = 1.0 / 4611686018427387904.0 |
| static constexpr double | sw::universal::oneOver2p126 = oneOver2p62 * oneOver2p62 * 0.25 |
| static constexpr double | sw::universal::oneOver2p254 = oneOver2p126 * oneOver2p126 * 0.25 |
| static constexpr double | sw::universal::oneOver2p510 = oneOver2p254 * oneOver2p254 * 0.25 |
| static constexpr double | sw::universal::oneOver2p1022 = oneOver2p510 * oneOver2p510 * 0.25 |
| static constexpr int | sw::universal::subnormal_reciprocal_shift [] |
| static constexpr double | sw::universal::subnormal_exponent [] |
| constexpr float | sw::universal::ieee754_float_subnormals [24] |
| constexpr double | sw::universal::ieee754_double_subnormals [53] |