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

Classes

struct  sw::universal::is_universal_number< ereal< maxlimbs, FpType > >
struct  sw::universal::is_high_precision< ereal< maxlimbs, FpType > >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::real (complex< ereal< maxlimbs, FpType > > x)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::imag (complex< ereal< maxlimbs, FpType > > x)
template<unsigned maxlimbs, typename FpType>
complex< ereal< maxlimbs, FpType > > sw::universal::conj (complex< ereal< maxlimbs, FpType > > x)