Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
iostream.hpp File Reference

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 posit< nbits, es, bt > &p)
template<unsigned nbits, unsigned es, typename bt>
std::istream & sw::universal::operator>> (std::istream &istr, posit< nbits, es, bt > &p)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::pretty_print (const posit< nbits, es, bt > &p, int printPrecision=std::numeric_limits< double >::max_digits10)
template<unsigned nbits, unsigned es, typename bt>
std::string sw::universal::info_print (const posit< nbits, es, bt > &p, int printPrecision=17)