|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <posit_regime.hpp>
Public Member Functions | |
| constexpr | positRegime () |
| constexpr | positRegime (const positRegime &r)=default |
| constexpr | positRegime (positRegime &&r)=default |
| constexpr positRegime & | operator= (const positRegime &r)=default |
| constexpr positRegime & | operator= (positRegime &&r)=default |
| constexpr void | reset () |
| constexpr std::size_t | nrBits () const |
| constexpr int | scale () const |
| constexpr int | positRegime_k () const |
| constexpr int | positRegime_run () const |
| long double | value () const |
| constexpr bool | iszero () const |
| constexpr blockbinary< nbits - 1, bt, BinaryNumberType::Unsigned > | bits () const |
| constexpr void | set (const blockbinary< nbits - 1, bt > &raw, unsigned nrOfRegimeBits) |
| constexpr void | setzero () |
| constexpr void | setinf () |
| constexpr int | regime_size (int k) const |
| constexpr std::size_t | assign (int scale) |
| constexpr unsigned | assign_regime_pattern (int k) |
| bool | increment () |
Friends | |
| template<unsigned nnbits, unsigned ees, typename bbt> | |
| std::ostream & | operator<< (std::ostream &ostr, const positRegime< nnbits, ees, bbt > &r) |
| template<unsigned nnbits, unsigned ees, typename bbt> | |
| bool | operator== (const positRegime< nnbits, ees, bbt > &lhs, const positRegime< nnbits, ees, bbt > &rhs) |
| template<unsigned nnbits, unsigned ees, typename bbt> | |
| bool | operator!= (const positRegime< nnbits, ees, bbt > &lhs, const positRegime< nnbits, ees, bbt > &rhs) |
| template<unsigned nnbits, unsigned ees, typename bbt> | |
| bool | operator< (const positRegime< nnbits, ees, bbt > &lhs, const positRegime< nnbits, ees, bbt > &rhs) |
| template<unsigned nnbits, unsigned ees, typename bbt> | |
| bool | operator> (const positRegime< nnbits, ees, bbt > &lhs, const positRegime< nnbits, ees, bbt > &rhs) |
| template<unsigned nnbits, unsigned ees, typename bbt> | |
| bool | operator<= (const positRegime< nnbits, ees, bbt > &lhs, const positRegime< nnbits, ees, bbt > &rhs) |
| template<unsigned nnbits, unsigned ees, typename bbt> | |
| bool | operator>= (const positRegime< nnbits, ees, bbt > &lhs, const positRegime< nnbits, ees, bbt > &rhs) |
|
inlineconstexpr |
|
constexprdefault |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |