Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
unum2_impl.hpp File Reference
#include <universal/number/unum2/common.hpp>
#include <universal/number/unum2/unum2_fwd.hpp>
#include <cstdint>
#include <bitset>
#include <iosfwd>
#include <algorithm>
#include <cmath>
#include <utility>

Classes

class  sw::universal::unum2< lattice< exacts... > >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Macros

#define UNUM2_USE_OP_MATRIX   1

Functions

template<size_t N>
static int sw::universal::_find_first (const std::bitset< N > &b)
template<typename T>
unum2< T > sw::universal::pow (unum2< T > u, int n)
template<typename T>
unum2< T > sw::universal::abs (unum2< T > u)

Macro Definition Documentation

◆ UNUM2_USE_OP_MATRIX

#define UNUM2_USE_OP_MATRIX   1