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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned ndigits, unsigned es, typename BlockType>
bool sw::universal::parse (const std::string &number, hfloat< ndigits, es, BlockType > &v)
template<unsigned ndigits, unsigned es, typename BlockType>
constexpr hfloat< ndigits, es, BlockType > sw::universal::abs (const hfloat< ndigits, es, BlockType > &)
template<unsigned ndigits, unsigned es, typename BlockType>
hfloat< ndigits, es, BlockType > sw::universal::sqrt (const hfloat< ndigits, es, BlockType > &)
template<unsigned ndigits, unsigned es, typename BlockType>
constexpr hfloat< ndigits, es, BlockType > sw::universal::fabs (hfloat< ndigits, es, BlockType >)