Posit(m): g(x) = b*x where b = 2^(2^m) Posit(0): b=2, Posit(1): b=4, Posit(2): b=16, Posit(3): b=256.
More...
#include <generators.hpp>
|
| template<typename R> |
| R | operator() (const R &x) const |
|
| static constexpr double | base_d = static_cast<double>(uint64_t(1) << (uint64_t(1) << m)) |
template<unsigned m = 0>
struct sw::universal::PositGenerator< m >
Posit(m): g(x) = b*x where b = 2^(2^m) Posit(0): b=2, Posit(1): b=4, Posit(2): b=16, Posit(3): b=256.
◆ operator()()
template<unsigned m = 0>
template<typename R>
◆ base_d
The documentation for this struct was generated from the following file:
- /home/runner/work/universal/universal/include/sw/universal/number/bisection/generators.hpp