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 <cmath>
#include <cstddef>
#include <cstdint>
#include <iomanip>
#include <sstream>
#include <string>
#include <vector>
#include <universal/number/elreal/core.hpp>
#include <universal/number/elreal/block_manipulators.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename FpType>
std::string sw::universal::type_tag (const elreal< FpType > &={})
template<typename FpType>
std::string sw::universal::nonfinite_tag (const elreal< FpType > &v, bool include_sign=true)
template<typename FpType>
std::string sw::universal::to_components (const elreal< FpType > &v)
template<typename FpType>
std::string sw::universal::to_binary (const elreal< FpType > &v, bool nibbleMarker=false)
template<typename FpType>
std::string sw::universal::to_triple (const elreal< FpType > &v)