|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstdint>#include <string>#include <sstream>#include <iomanip>#include <universal/number/e8m0/core.hpp>#include <universal/number/e8m0/e8m0_fwd.hpp>#include <universal/utility/color_print.hpp>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| std::string | sw::universal::type_tag (const e8m0 &={}) |
| std::string | sw::universal::to_hex (const e8m0 &v, bool=false, bool hexPrefix=true) |
| std::string | sw::universal::color_print (const e8m0 &r, bool=false) |
| std::string | sw::universal::to_binary (e8m0 v, bool nibbleMarker=false) |
| std::string | sw::universal::to_native (e8m0 v, bool nibbleMarker=false) |