25 #ifndef EIGEN_NUMTRAITS_H
26 #define EIGEN_NUMTRAITS_H
79 typedef typename internal::conditional<
81 typename internal::conditional<sizeof(T)<=2, float, double>::type,
86 static inline Real epsilon() {
return std::numeric_limits<T>::epsilon(); }
87 static inline Real dummy_precision()
92 static inline T highest() {
return (std::numeric_limits<T>::max)(); }
93 static inline T lowest() {
return IsInteger ? (std::numeric_limits<T>::min)() : (-(std::numeric_limits<T>::max)()); }
99 typedef NonInteger FloatingPoint;
123 template<
typename _Real>
struct NumTraits<std::complex<_Real> >
139 template<
typename Scalar,
int Rows,
int Cols,
int Options,
int MaxRows,
int MaxCols>
162 #endif // EIGEN_NUMTRAITS_H