Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
posit_fields_io.hpp File Reference
#include <iostream>
#include <sstream>
#include <string>
#include <universal/number/posit/posit_regime.hpp>
#include <universal/number/posit/posit_exponent.hpp>
#include <universal/number/posit/posit_fraction.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, unsigned es, typename bt>
std::ostream & sw::universal::operator<< (std::ostream &ostr, const positRegime< nbits, es, bt > &r)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::to_string (const positRegime< nbits, es, bt > &r, bool dashExtent=true, bool nibbleMarker=false)
template<unsigned nbits, unsigned es, typename bt>
std::ostream & sw::universal::operator<< (std::ostream &ostr, const positExponent< nbits, es, bt > &e)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::to_string (const positExponent< nbits, es, bt > &e, bool dashExtent=true, bool nibbleMarker=false)
template<unsigned nfbits, typename bbt>
std::ostream & sw::universal::operator<< (std::ostream &ostr, const positFraction< nfbits, bbt > &f)
template<unsigned nfbits, typename bbt>
std::string sw::universal::to_string (const positFraction< nfbits, bbt > &f, bool dashExtent=true, bool nibbleMarker=false)