|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Elias omega: g(x) = 2^x, sequence via tetration: 1, 2, 4, 16, 65536, ... The fastest-growing generator in the paper. More...
#include <generators.hpp>
Public Member Functions | |
| template<typename R> | |
| R | operator() (const R &x) const |
Elias omega: g(x) = 2^x, sequence via tetration: 1, 2, 4, 16, 65536, ... The fastest-growing generator in the paper.
Clamp output to avoid double overflow (2^(2^16) is far beyond double range).
|
inline |