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 <iomanip>
#include <cstdint>
#include <cmath>
#include <type_traits>
#include <universal/number/qd/core.hpp>
#include <universal/number/qd/iostream.hpp>
#include <universal/traits/qd_traits.hpp>
#include <universal/internal/blockbinary/blockbinary.hpp>
#include <universal/number/qd/qd_fwd.hpp>
#include <universal/native/ieee754.hpp>
#include <universal/utility/color_print.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename QuadDoubleType, std::enable_if_t< is_qd< QuadDoubleType >, bool > = true>
std::string sw::universal::type_tag (QuadDoubleType={})
std::string sw::universal::color_print (const qd &r, bool nibbleMarker=false)
std::string sw::universal::to_quad (const qd &v, int precision=17)
std::string sw::universal::to_triple (const qd &v, int precision=17)
std::string sw::universal::to_binary (const qd &number, bool nibbleMarker=false)
std::string sw::universal::to_native (const qd &number, bool nibbleMarker=false)
std::string sw::universal::to_components (const qd &number, bool nibbleMarker=false)