From 22e0ebbc2cf33430a3d229d6945a8e713b5db06b Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 31 Jul 2012 23:11:04 +0200 Subject: [PATCH] fix lower acceptable bound of SSE pexp for double --- Eigen/src/Core/arch/SSE/MathFunctions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/arch/SSE/MathFunctions.h b/Eigen/src/Core/arch/SSE/MathFunctions.h index ae98975ac..14c3e7d5a 100644 --- a/Eigen/src/Core/arch/SSE/MathFunctions.h +++ b/Eigen/src/Core/arch/SSE/MathFunctions.h @@ -175,7 +175,7 @@ Packet2d pexp(const Packet2d& _x) _EIGEN_DECLARE_CONST_Packet4i(0x7f, 0x7f); _EIGEN_DECLARE_CONST_Packet2d(exp_hi, 709.437); - _EIGEN_DECLARE_CONST_Packet2d(exp_lo, -709.437); + _EIGEN_DECLARE_CONST_Packet2d(exp_lo, -709.436139303); _EIGEN_DECLARE_CONST_Packet2d(cephes_LOG2EF, 1.4426950408889634073599);