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
#include <type_traits>
#include <complex>
#include <universal/math/complex.hpp>

Classes

struct  sw::universal::is_universal_number< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > sw::universal::real (complex< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > > x)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > sw::universal::imag (complex< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > > x)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
complex< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > > sw::universal::conj (complex< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > > x)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > sw::universal::real (std::complex< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > > x)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > sw::universal::imag (std::complex< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > > x)
template<unsigned nbits, unsigned es, typename bt, bool hasSubnormals, bool hasMaxExpValues, bool isSaturating>
std::complex< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > > sw::universal::conj (std::complex< cfloat< nbits, es, bt, hasSubnormals, hasMaxExpValues, isSaturating > > x)