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
#include <cstdint>
#include <ios>
#include <iostream>
#include <string>
#include <universal/number/integer/core.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, typename BlockType, IntegerNumberType NumberType>
std::string sw::universal::convert_to_string (std::ios_base::fmtflags flags, const integer< nbits, BlockType, NumberType > &n)
template<unsigned nbits, typename BlockType, IntegerNumberType NumberType>
std::ostream & sw::universal::operator<< (std::ostream &ostr, const integer< nbits, BlockType, NumberType > &i)
template<unsigned nbits, typename BlockType, IntegerNumberType NumberType>
std::istream & sw::universal::operator>> (std::istream &istr, integer< nbits, BlockType, NumberType > &p)