Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
quire_impl.hpp File Reference
#include <cstdint>
#include <universal/utility/exceptions.hpp>
#include <cmath>
#include <string>
#include <vector>
#include <stdexcept>
#include <iosfwd>
#include <universal/number/shared/specific_value_encoding.hpp>
#include <universal/number/shared/integer_cast.hpp>
#include <limits>
#include <type_traits>

Classes

class  sw::universal::quire< NumberType, capacity, LimbType >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<typename NumberType, unsigned capacity, typename LimbType>
quire< NumberType, capacity, LimbType > sw::universal::abs (const quire< NumberType, capacity, LimbType > &q)
template<typename NumberType, unsigned capacity, typename LimbType>
quire< NumberType, capacity, LimbType > sw::universal::operator+ (const quire< NumberType, capacity, LimbType > &lhs, const quire< NumberType, capacity, LimbType > &rhs)
template<typename NumberType, unsigned capacity, typename LimbType>
bool sw::universal::operator== (const quire< NumberType, capacity, LimbType > &lhs, const quire< NumberType, capacity, LimbType > &rhs)
template<typename NumberType, unsigned capacity, typename LimbType>
bool sw::universal::operator!= (const quire< NumberType, capacity, LimbType > &lhs, const quire< NumberType, capacity, LimbType > &rhs)
template<typename NumberType, unsigned capacity, typename LimbType>
bool sw::universal::operator< (const quire< NumberType, capacity, LimbType > &lhs, const quire< NumberType, capacity, LimbType > &rhs)
template<typename NumberType, unsigned capacity, typename LimbType>
bool sw::universal::operator> (const quire< NumberType, capacity, LimbType > &lhs, const quire< NumberType, capacity, LimbType > &rhs)
template<typename NumberType, unsigned capacity, typename LimbType>
bool sw::universal::operator<= (const quire< NumberType, capacity, LimbType > &lhs, const quire< NumberType, capacity, LimbType > &rhs)
template<typename NumberType, unsigned capacity, typename LimbType>
bool sw::universal::operator>= (const quire< NumberType, capacity, LimbType > &lhs, const quire< NumberType, capacity, LimbType > &rhs)

Variables

template<typename T>
constexpr bool sw::universal::quire_converts_through_double_v
 Whether quire::convert_to<T>() can reach a non-native number type T through double, rounded to odd (#2107).