Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
manipulators.hpp File Reference
#include <string>
#include <sstream>
#include <iomanip>
#include <typeinfo>
#include <universal/number/areal/core.hpp>
#include <universal/utility/color_print.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::type_tag (const areal< nbits, es, bt > &={})
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::components (const areal< nbits, es, bt > &v)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::to_hex (const areal< nbits, es, bt > &v, bool nibbleMarker=false, bool hexPrefix=true)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::hex_print (const areal< nbits, es, bt > &r)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::pretty_print (const areal< nbits, es, bt > &r)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::info_print (const areal< nbits, es, bt > &p, int printPrecision=17)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::color_print (const areal< nbits, es, bt > &r)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::to_string (const areal< nbits, es, bt > &v)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::to_binary (const areal< nbits, es, bt > &number, bool nibbleMarker=false)