|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstddef>#include <complex>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<size_t nbits, size_t rbits, bool arithmetic, typename bt> | |
| erational | sw::universal::real (std::complex< erational > x) |
| template<size_t nbits, size_t rbits, bool arithmetic, typename bt> | |
| erational | sw::universal::imag (std::complex< erational > x) |
| template<size_t nbits, size_t rbits, bool arithmetic, typename bt> | |
| std::complex< erational > | sw::universal::conj (std::complex< erational > x) |
| bool | sw::universal::isnan (std::complex< erational > x) |
| bool | sw::universal::isinf (std::complex< erational > x) |