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

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

int sw::universal::compute_ufp (double x)
int sw::universal::compute_ufp (float x)
int sw::universal::compute_ufp (double lo, double hi)
template<typename NumberSystem>
int sw::universal::ufp_from_analyzer (const range_analyzer< NumberSystem > &analyzer)