35 #ifndef _BLAZE_MATH_INFINITY_H_
36 #define _BLAZE_MATH_INFINITY_H_
87 template<
typename I >
112 inline operator signed char()
const;
113 inline operator char()
const;
114 inline operator wchar_t()
const;
115 inline operator short()
const;
116 inline operator int()
const;
117 inline operator long()
const;
121 inline operator float()
const;
122 inline operator double()
const;
123 inline operator long double()
const;
130 template<
typename T >
131 inline bool equal(
const T& rhs )
const;
164 template<
typename I >
183 template<
typename I >
196 template<
typename I >
209 template<
typename I >
222 template<
typename I >
235 template<
typename I >
248 template<
typename I >
262 template<
typename I >
276 template<
typename I >
289 template<
typename I >
302 template<
typename I >
325 template<
typename I >
326 template<
typename T >
346 template<
typename I1,
typename I2 >
349 template<
typename I,
typename T >
352 template<
typename I,
typename T >
355 template<
typename I1,
typename I2 >
358 template<
typename I,
typename T >
361 template<
typename I,
typename T >
375 template<
typename I1
400 return lhs.
equal( rhs );
420 return rhs.
equal( lhs );
433 template<
typename I1
458 return !lhs.
equal( rhs );
478 return !rhs.
equal( lhs );
552 inline operator unsigned char()
const;
553 inline operator signed char()
const;
554 inline operator char()
const;
555 inline operator wchar_t()
const;
556 inline operator unsigned short()
const;
557 inline operator short()
const;
558 inline operator unsigned int()
const;
559 inline operator int()
const;
560 inline operator unsigned long()
const;
561 inline operator long()
const;
563 inline operator size_t()
const;
566 inline operator float()
const;
567 inline operator double()
const;
568 inline operator long double()
const;
576 inline const NegativeType
operator-()
const;
583 template<
typename T >
584 inline bool equal(
const T& rhs )
const;
629 inline Infinity::operator
unsigned char()
const
641 inline Infinity::operator char()
const
653 inline Infinity::operator
signed char()
const
665 inline Infinity::operator wchar_t()
const
677 inline Infinity::operator
unsigned short()
const
689 inline Infinity::operator short()
const
701 inline Infinity::operator
unsigned int()
const
713 inline Infinity::operator int()
const
725 inline Infinity::operator
unsigned long()
const
737 inline Infinity::operator long()
const
750 inline Infinity::operator
size_t()
const
764 inline Infinity::operator ptrdiff_t()
const
777 inline Infinity::operator float()
const
789 inline Infinity::operator double()
const
801 inline Infinity::operator
long double()
const
855 template<
typename T >
877 template<
typename I >
880 template<
typename I >
883 template<
typename T >
886 template<
typename T >
891 template<
typename I >
894 template<
typename I >
897 template<
typename T >
900 template<
typename T >
930 template<
typename I >
947 template<
typename I >
967 template<
typename T >
970 return lhs.
equal( rhs );
986 template<
typename T >
989 return rhs.
equal( lhs );
1018 template<
typename I >
1035 template<
typename I >
1055 template<
typename T >
1058 return !lhs.
equal( rhs );
1074 template<
typename T >
1077 return !rhs.
equal( lhs );
Pointer difference type of the Blaze library.
Positive infinity for built-in data types.The Infinity class is a wrapper class around the functional...
Definition: Infinity.h:531
Numerical limits of built-in data types.
Header file for the UNUSED_PARAMETER function template.
Header file for basic type definitions.
bool equal(const T &rhs) const
Equality comparison to a built-in data type.
Definition: Infinity.h:327
Infinity & operator=(const Infinity &inf)
Copy assignment operator (private & undefined)
Negative infinity for built-in data types.The NegativeInfinity class is a wrapper class around the fu...
Definition: Infinity.h:88
void * operator&() const
Address operator (private & undefined)
Infinity()
The default constructor of the Infinity class.
Definition: Infinity.h:611
NegativeInfinity & operator=(const NegativeInfinity &ninf)
Copy assignment operator (private & undefined)
I PositiveType
The positive infinity type.
Definition: Infinity.h:92
NegativeInfinity()
The default constructor of the NegativeInfinity class.
Definition: Infinity.h:165
void * operator&() const
Address operator (private & undefined)
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
NegativeInfinity< Infinity > NegativeType
The negative infinity type.
Definition: Infinity.h:535
const NegativeType operator-() const
Returns the negative infinity value for all built-in data types.
Definition: Infinity.h:833
Numerical limits of built-in data types.The Limits class provides numerical limits for the following ...
Definition: Limits.h:106
const Infinity inf
Global Infinity instance.The blaze::inf instance can be used wherever a built-in data type is expecte...
Definition: Infinity.h:1098
#define BLAZE_CONSTRAINT_MUST_BE_BUILTIN_TYPE(T)
Constraint on the data type.In case the given data type T is not a built-in data type, a compilation error is created.
Definition: Builtin.h:60
bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value. ...
Definition: Accuracy.h:249
bool operator!=(const NegativeAccuracy< A > &lhs, const T &rhs)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:289
const Infinity & operator+() const
Returns the positive infinity value for all built-in data types.
Definition: Infinity.h:821
void UNUSED_PARAMETER(const Args &...)
Suppression of unused parameter warnings.
Definition: Unused.h:81
Size type of the Blaze library.
bool equal(const T &rhs) const
Equality comparison to a built-in data type.
Definition: Infinity.h:856
Constraint on the data type.