From e2775869588e1df2d19265eac5c167651168a414 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 28 Apr 2010 18:51:38 -0400 Subject: Complete rework of global math functions and NumTraits. * Now completely generic so all standard integer types (like char...) are supported. ** add unit test for that (integer_types). * NumTraits does no longer inherit numeric_limits * All math functions are now templated * Better guard (static asserts) against using certain math functions on integer types. --- Eigen/src/Core/Fuzzy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Eigen/src/Core/Fuzzy.h') diff --git a/Eigen/src/Core/Fuzzy.h b/Eigen/src/Core/Fuzzy.h index dfa042377..432da4288 100644 --- a/Eigen/src/Core/Fuzzy.h +++ b/Eigen/src/Core/Fuzzy.h @@ -26,6 +26,8 @@ #ifndef EIGEN_FUZZY_H #define EIGEN_FUZZY_H +// TODO support small integer types properly i.e. do exact compare on coeffs --- taking a HS norm is guaranteed to cause integer overflow. + #ifndef EIGEN_LEGACY_COMPARES /** \returns \c true if \c *this is approximately equal to \a other, within the precision -- cgit v1.2.3