|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Golden ratio: g(x) = phi * x, sequence = 1, phi, phi^2, phi^3, ... Represents integers as sums of Fibonacci numbers. More...
#include <generators.hpp>
Public Member Functions | |
| template<typename R> | |
| R | operator() (const R &x) const |
Golden ratio: g(x) = phi * x, sequence = 1, phi, phi^2, phi^3, ... Represents integers as sums of Fibonacci numbers.
|
inline |