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::cordic::detail::tables< Work > Struct Template Reference

#include <cordic.hpp>

Public Member Functions

 tables ()

Public Attributes

std::array< Work, R > atan {}
std::array< Work, R+1u > invK {}
Work pi_over_2 {}

Static Public Attributes

static constexpr unsigned R = Work::rbits

Constructor & Destructor Documentation

◆ tables()

template<typename Work>
sw::universal::cordic::detail::tables< Work >::tables ( )
inline

Member Data Documentation

◆ atan

template<typename Work>
std::array<Work, R> sw::universal::cordic::detail::tables< Work >::atan {}

◆ invK

template<typename Work>
std::array<Work, R + 1u> sw::universal::cordic::detail::tables< Work >::invK {}

◆ pi_over_2

template<typename Work>
Work sw::universal::cordic::detail::tables< Work >::pi_over_2 {}

◆ R

template<typename Work>
unsigned sw::universal::cordic::detail::tables< Work >::R = Work::rbits
staticconstexpr

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