aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar jdh8 <jdh8@acer.fedora>2012-08-08 17:50:56 +0800
committerGravatar jdh8 <jdh8@acer.fedora>2012-08-08 17:50:56 +0800
commitc5800a245212eca03cad9f98b9cb645e083231f2 (patch)
tree577d124a677081715f07bed64c4111af748ce821 /unsupported
parent8cddcaf839838c415b62315b6febcaa7e487d2a2 (diff)
using std::frexp instead of frexp
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
index 9947d9007..0226139ae 100644
--- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
+++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
@@ -283,9 +283,8 @@ EIGEN_STRONG_INLINE void MatrixExponential<MatrixType>::pade17(const MatrixType
template <typename MatrixType>
void MatrixExponential<MatrixType>::computeUV(float)
{
- using std::max;
+ using std::frexp;
using std::pow;
- using std::ceil;
if (m_l1norm < 4.258730016922831e-001) {
pade3(m_M);
} else if (m_l1norm < 1.880152677804762e+000) {
@@ -302,9 +301,8 @@ void MatrixExponential<MatrixType>::computeUV(float)
template <typename MatrixType>
void MatrixExponential<MatrixType>::computeUV(double)
{
- using std::max;
+ using std::frexp;
using std::pow;
- using std::ceil;
if (m_l1norm < 1.495585217958292e-002) {
pade3(m_M);
} else if (m_l1norm < 2.539398330063230e-001) {
@@ -325,9 +323,8 @@ void MatrixExponential<MatrixType>::computeUV(double)
template <typename MatrixType>
void MatrixExponential<MatrixType>::computeUV(long double)
{
- using std::max;
+ using std::frexp;
using std::pow;
- using std::ceil;
#if LDBL_MANT_DIG == 53 // double precision
computeUV(double());
#elif LDBL_MANT_DIG <= 64 // extended precision