|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstddef>#include <string>#include <sstream>#include <iomanip>#include <universal/number/nvblock/core.hpp>#include <universal/number/microfloat/manipulators.hpp>#include <type_traits>#include <universal/number/nvblock/nvblock_fwd.hpp>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<typename ElementType, size_t BlockSize, typename ScaleType> | |
| std::string | sw::universal::type_tag (const nvblock< ElementType, BlockSize, ScaleType > &={}) |
| template<typename ElementType, size_t BlockSize, typename ScaleType> | |
| std::string | sw::universal::to_binary (const nvblock< ElementType, BlockSize, ScaleType > &blk, bool bNibbleMarker=false) |