|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstddef>#include <cstdint>#include <string>#include <sstream>#include <iomanip>#include <type_traits>#include <universal/number/zfpblock/zfpblock_fwd.hpp>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<typename Real, unsigned Dim> | |
| std::string | sw::universal::type_tag (const zfpblock< Real, Dim > &={}) |
| template<typename Real, unsigned Dim> | |
| std::string | sw::universal::to_binary (const zfpblock< Real, Dim > &blk, bool=false) |
| template<typename Real, unsigned Dim> | |
| std::string | sw::universal::to_hex (const zfpblock< Real, Dim > &blk) |