bug #80: merge with d_hood branch on adding more coefficient-wise unary array functors

This commit is contained in:
Gael Guennebaud
2015-06-10 15:52:05 +02:00
23 changed files with 845 additions and 77 deletions

View File

@@ -415,6 +415,16 @@
#define EIGEN_HAS_CONSTEXPR 1
#endif
// Does the compiler support C99 math?
#if (__cplusplus >= 201103L) && (EIGEN_COMP_GNUC_STRICT || EIGEN_COMP_CLANG || EIGEN_COMP_MSVC || EIGEN_COMP_ICC) \
&& (EIGEN_ARCH_i386_OR_x86_64) && (EIGEN_OS_GNULINUX || EIGEN_OS_WIN_STRICT || EIGEN_OS_MAC) || \
(EIGEN_COMP_GNUC_STRICT || \
(EIGEN_COMP_ICC && EIGEN_COMP_GNUC) || \
(EIGEN_COMP_CLANG) || \
(EIGEN_COMP_MSVC >= 1800))
#define EIGEN_HAS_C99_MATH 1
#endif
/** Allows to disable some optimizations which might affect the accuracy of the result.
* Such optimization are enabled by default, and set EIGEN_FAST_MATH to 0 to disable them.
* They currently include: