Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
to_decimal.hpp File Reference
#include <cstdint>
#include <string>
#include <universal/internal/blockbinary/blockbinary.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nbits, typename BlockType, BinaryNumberType NumberType>
std::string sw::universal::to_decimal (const blockbinary< nbits, BlockType, NumberType > &number)