Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
sw::universal::FibonacciGenerator Struct Reference

Fibonacci: g(x) = round(phi * x), sequence = 1, 2, 3, 5, 8, 13, ... More...

#include <generators.hpp>

Public Member Functions

template<typename R>
R operator() (const R &x) const

Detailed Description

Fibonacci: g(x) = round(phi * x), sequence = 1, 2, 3, 5, 8, 13, ...

Member Function Documentation

◆ operator()()

template<typename R>
R sw::universal::FibonacciGenerator::operator() ( const R & x) const
inline

The documentation for this struct was generated from the following file:
  • /home/runner/work/universal/universal/include/sw/universal/number/bisection/generators.hpp