10 #ifndef EIGEN_NUMTRAITS_H
11 #define EIGEN_NUMTRAITS_H
20 bool use_numeric_limits = std::numeric_limits<T>::is_specialized,
24 static int run() {
return std::numeric_limits<T>::digits10; }
41 static int run() {
return 0; }
110 static inline Real epsilon()
112 return numext::numeric_limits<T>::epsilon();
116 static inline int digits10()
122 static inline Real dummy_precision()
130 static inline T highest() {
135 static inline T lowest() {
140 static inline T infinity() {
141 return numext::numeric_limits<T>::infinity();
145 static inline T quiet_NaN() {
146 return numext::numeric_limits<T>::quiet_NaN();
193 template<
typename Scalar,
int Rows,
int Cols,
int Options,
int MaxRows,
int MaxCols>
235 static inline std::string epsilon();
236 static inline std::string dummy_precision();
237 static inline std::string lowest();
238 static inline std::string highest();
239 static inline std::string infinity();
240 static inline std::string quiet_NaN();
248 #endif // EIGEN_NUMTRAITS_H