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::magnitude< Fixed > Struct Template Reference

#include <cordic.hpp>

Public Member Functions

 magnitude (const Fixed &f)

Public Attributes

blockbinary< Fixed::nbits+2u, typename Fixed::BlockType, BinaryNumberType::Signed > raw
unsigned e
bool negative

Constructor & Destructor Documentation

◆ magnitude()

template<typename Fixed>
sw::universal::cordic::detail::magnitude< Fixed >::magnitude ( const Fixed & f)
inlineexplicit

Member Data Documentation

◆ e

template<typename Fixed>
unsigned sw::universal::cordic::detail::magnitude< Fixed >::e

◆ negative

template<typename Fixed>
bool sw::universal::cordic::detail::magnitude< Fixed >::negative

◆ raw

template<typename Fixed>
blockbinary<Fixed::nbits + 2u, typename Fixed::BlockType, BinaryNumberType::Signed> sw::universal::cordic::detail::magnitude< Fixed >::raw

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