|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <sstream>#include <string>#include <typeinfo>#include <vector>#include <universal/number/einteger/core.hpp>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<typename ElasticIntegerType, std::enable_if_t< is_einteger< ElasticIntegerType >, bool > = true> | |
| std::string | sw::universal::type_tag (const ElasticIntegerType &={}) |
| template<typename BlockType> | |
| std::string | sw::universal::to_binary (const einteger< BlockType > &a, bool nibbleMarker=true) |
| template<typename BlockType> | |
| std::string | sw::universal::to_hex (const einteger< BlockType > &a, bool wordMarker=true) |