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

Classes

struct  sw::universal::integral_constant< Ty, val >
struct  sw::universal::value_type_trait< _Ty >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Typedefs

template<bool val>
using sw::universal::bool_constant = integral_constant<bool, val>
using sw::universal::true_type = bool_constant<true>
using sw::universal::false_type = bool_constant<false>
template<typename _Ty>
using sw::universal::value_type = typename value_type_trait<_Ty>::type