Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
block_manipulators.hpp File Reference
#include <cmath>
#include <cstdint>
#include <cstring>
#include <iomanip>
#include <sstream>
#include <string>
#include <typeinfo>
#include <universal/number/elreal/block.hpp>
#include <universal/number/integer/iostream.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename FpType>
std::string sw::universal::type_tag (const block< FpType > &={})
template<typename FpType>
std::string sw::universal::to_binary (const block< FpType > &b, bool=false)
template<typename FpType>
std::string sw::universal::to_hex (const block< FpType > &b, bool=false, bool hexPrefix=true)
template<typename FpType>
std::string sw::universal::color_print (const block< FpType > &b, bool nibbleMarker=false)