35 #ifndef _BLAZE_UTIL_UNSIGNEDVALUE_H_ 36 #define _BLAZE_UTIL_UNSIGNEDVALUE_H_ 62 template<
typename T >
83 inline operator T()
const;
124 template<
typename T >
145 template<
typename T >
167 template<
typename T >
188 template<
typename T >
207 template<
typename T1,
typename T2 >
210 template<
typename T1,
typename T2 >
213 template<
typename T1,
typename T2 >
216 template<
typename T1,
typename T2 >
219 template<
typename T1,
typename T2 >
222 template<
typename T1,
typename T2 >
225 template<
typename T >
228 template<
typename T >
241 template<
typename T1
245 return lhs.
get() == rhs.
get();
257 template<
typename T1
261 return lhs.
get() != rhs.
get();
273 template<
typename T1
277 return lhs.
get() < rhs.
get();
289 template<
typename T1
293 return lhs.
get() > rhs.
get();
305 template<
typename T1
309 return lhs.
get() <= rhs.
get();
321 template<
typename T1
325 return lhs.
get() >= rhs.
get();
337 template<
typename T >
340 return os << uv.
get();
357 template<
typename T >
361 const std::istream::pos_type pos( is.tellg() );
367 if( is.peek() ==
'-' || !(is >> tmp) )
371 is.setstate( std::istream::failbit );
constexpr bool operator<(const NegativeAccuracy< A > &lhs, const T &rhs)
Less-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:332
UnsignedValue(T value=0)
The default constructor for UnsignedInt.
Definition: UnsignedValue.h:125
#define BLAZE_CONSTRAINT_MUST_BE_UNSIGNED_TYPE(T)
Constraint on the data type.In case the given data type T is not an unsigned integral data type,...
Definition: Unsigned.h:61
T value_
The wrapped built-in unsigned integral value.
Definition: UnsignedValue.h:98
Constraint on the data type.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr bool operator>(const NegativeAccuracy< A > &lhs, const T &rhs)
Greater-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:370
constexpr bool operator>=(const NegativeAccuracy< A > &, const T &rhs)
Greater-or-equal-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:446
constexpr bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:253
UnsignedValue & operator=(T value)
Assignment of a built-in unsigned integral value.
Definition: UnsignedValue.h:146
constexpr bool operator!=(const NegativeAccuracy< A > &lhs, const T &rhs)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:293
decltype(auto) operator<<(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Left-shift operator for the elementwise left-shift of a dense matrix.
Definition: DMatDMatMapExpr.h:1349
constexpr bool operator<=(const NegativeAccuracy< A > &, const T &rhs)
Less-or-equal-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:408
T get() const
Access to the wrapped built-in unsigned integral value.
Definition: UnsignedValue.h:189
decltype(auto) operator>>(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Right-shift operator for the elementwise right-shift of a dense matrix.
Definition: DMatDMatMapExpr.h:1383
Implementation of a wrapper for built-in unsigned integral values.This class wraps a value of built-i...
Definition: UnsignedValue.h:63