|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstdint>#include <sstream>#include <string>#include <universal/internal/blocksignificand/blocksignificand.hpp>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<unsigned nbits, typename bt> | |
| std::string | sw::universal::to_binary (const blocksignificand< nbits, bt > &number, bool nibbleMarker=false) |
| template<unsigned nbits, typename bt> | |
| std::string | sw::universal::to_hex (const blocksignificand< nbits, bt > &number, bool nibbleMarker=true) |