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 <algorithm>
#include <cstdint>
#include <iomanip>
#include <limits>
#include <sstream>
#include <string>
#include <universal/native/integer_type_tag.hpp>
#include <universal/traits/poxel_traits.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 poxel< nbits, es, bt > &={})
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::to_binary (const poxel< nbits, es, bt > &v, bool=false)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::lattice_text (const typename poxel< nbits, es, bt >::index_type &P, int precision)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::to_interval (const poxel< nbits, es, bt > &v, int precision=0)