Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
table.hpp File Reference
#include <universal/number/takum/iostream.hpp>
#include <universal/number/takum/takum_traits.hpp>
#include <cstdint>
#include <ostream>
#include <iomanip>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename TakumType>
void sw::universal::GenerateTakumVariantTable (std::ostream &ostr, bool csvFormat=false)
template<unsigned nbits, unsigned rbits = 3, typename BlockType = std::uint8_t>
void sw::universal::GenerateTakumTable (std::ostream &ostr, bool csvFormat=false)
template<unsigned nbits, unsigned rbits = 3, typename BlockType = std::uint8_t>
void sw::universal::GenerateTakumLogTable (std::ostream &ostr, bool csvFormat=false)

Variables

constexpr unsigned sw::universal::takum_table_max_nbits = 24