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

Classes

struct  sw::universal::is_poxel_trait< _Ty >
struct  sw::universal::is_poxel_trait< sw::universal::poxel< nbits, es, bt > >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Typedefs

template<typename _Ty, typename Type = void>
using sw::universal::enable_if_poxel = std::enable_if_t<is_poxel<_Ty>, Type>

Variables

template<typename _Ty>
constexpr bool sw::universal::is_poxel = is_poxel_trait<_Ty>::value