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 <string>
#include <sstream>
#include <ios>
#include <cstddef>
#include <cmath>
#include <universal/internal/floatcascade/floatcascade.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<size_t N>
std::string sw::universal::to_tuple (const floatcascade< N > &fc)
template<size_t N>
std::string sw::universal::to_scientific (const floatcascade< N > &fc, int precision=N *17, bool showpos=false, bool uppercase=false, bool trailing_zeros=true)