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 <cctype>
#include <cstdint>
#include <string>
#include <sstream>
#include <iomanip>
#include <universal/internal/blockbinary/blockbinary.hpp>
#include <universal/number/bfloat16/core.hpp>
#include <universal/number/bfloat16/bfloat16_fwd.hpp>
#include <universal/traits/bfloat16_traits.hpp>
#include <universal/utility/color_print.hpp>

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

bool sw::universal::parse (const std::string &number, bfloat16 &v)
std::string sw::universal::to_binary (bfloat16 bf, bool bNibbleMarker=false)
std::string sw::universal::to_native (bfloat16 v, bool nibbleMarker=false)
std::string sw::universal::type_tag (const bfloat16 &={})
template<typename BfloatType, std::enable_if_t< is_bfloat16< BfloatType >, bool > = true>
std::string sw::universal::type_field (const BfloatType &={})
std::string sw::universal::to_hex (const bfloat16 &v, bool nibbleMarker=false, bool hexPrefix=true)
std::string sw::universal::hex_print (const bfloat16 &c)
std::string sw::universal::to_triple (const bfloat16 &number, bool nibbleMarker=false)
std::string sw::universal::color_print (const bfloat16 &r, bool nibbleMarker=false)