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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename FloatingPointType>
bool sw::universal::sign (const faithful< FloatingPointType > &v)
template<typename FloatingPointType>
int sw::universal::scale (const faithful< FloatingPointType > &v)
template<typename FloatingPointType>
std::string sw::universal::faithful_range (const faithful< FloatingPointType > &v={})