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::faithful_detail::exact_expansion< Real > Class Template Reference

#include <fractional.hpp>

Public Member Functions

 exact_expansion () noexcept
 exact_expansion (const exact_expansion &o)
exact_expansion & operator= (const exact_expansion &o)
void add (Real b)
int sign () const
std::size_t size () const noexcept
Real approx () const
faithful< Real > to_pair () const

Constructor & Destructor Documentation

◆ exact_expansion() [1/2]

template<typename Real>
sw::universal::faithful_detail::exact_expansion< Real >::exact_expansion ( )
inlinenoexcept

◆ exact_expansion() [2/2]

template<typename Real>
sw::universal::faithful_detail::exact_expansion< Real >::exact_expansion ( const exact_expansion< Real > & o)
inline

Member Function Documentation

◆ add()

template<typename Real>
void sw::universal::faithful_detail::exact_expansion< Real >::add ( Real b)
inline

◆ approx()

template<typename Real>
Real sw::universal::faithful_detail::exact_expansion< Real >::approx ( ) const
inline

◆ operator=()

template<typename Real>
exact_expansion & sw::universal::faithful_detail::exact_expansion< Real >::operator= ( const exact_expansion< Real > & o)
inline

◆ sign()

template<typename Real>
int sw::universal::faithful_detail::exact_expansion< Real >::sign ( ) const
inline

◆ size()

template<typename Real>
std::size_t sw::universal::faithful_detail::exact_expansion< Real >::size ( ) const
inlinenoexcept

◆ to_pair()

template<typename Real>
faithful< Real > sw::universal::faithful_detail::exact_expansion< Real >::to_pair ( ) const
inline

The documentation for this class was generated from the following file:
  • /home/runner/work/universal/universal/include/sw/universal/number/faithful/math/functions/fractional.hpp