Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
ieee754_double.hpp File Reference
#include <universal/native/ieee754_decoder.hpp>
#include <universal/utility/color_print.hpp>
#include <sstream>
#include <iomanip>
#include <string>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

std::string sw::universal::to_hex (double number, bool nibbleMarker=false, bool hexPrefix=true)
std::string sw::universal::to_binary (double number, bool bNibbleMarker=false)
std::string sw::universal::to_triple (double number)
std::string sw::universal::to_base2_scientific (double number)
std::string sw::universal::color_print (double number)