|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86785 - trunk/libs/math/test
From: john_at_[hidden]
Date: 2013-11-22 12:12:06
Author: johnmaddock
Date: 2013-11-22 12:12:06 EST (Fri, 22 Nov 2013)
New Revision: 86785
URL: http://svn.boost.org/trac/boost/changeset/86785
Log:
Ooops, make tests compatible with multiprecision testing.
Text files modified:
trunk/libs/math/test/test_digamma.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/math/test/test_digamma.hpp
==============================================================================
--- trunk/libs/math/test/test_digamma.hpp Fri Nov 22 04:35:22 2013 (r86784)
+++ trunk/libs/math/test/test_digamma.hpp 2013-11-22 12:12:06 EST (Fri, 22 Nov 2013) (r86785)
@@ -77,8 +77,8 @@
{{ static_cast<T>(std::ldexp(1.0, -100)), SC_(-1.26765060022822940149670320537657721566490153286060651209008e30) }},
{{ static_cast<T>(-std::ldexp(1.0, -100)), SC_(1.26765060022822940149670320537542278433509846713939348790992e30) }},
{{ static_cast<T>(1), SC_(-0.577215664901532860606512090082402431042159335939923598805767) }},
- {{ SC_(-1) + static_cast<T>(std::ldexp(1.0, -20)), SC_(-1.04857557721314249602848739817764518743062133735858753112190e6) }},
- {{ SC_(-1) - static_cast<T>(std::ldexp(1.0, -20)), SC_(1.04857642278181269259522681939281063878220298942888100442172e6) }},
+ {{ static_cast<T>(-1) + static_cast<T>(std::ldexp(1.0, -20)), SC_(-1.04857557721314249602848739817764518743062133735858753112190e6) }},
+ {{ static_cast<T>(-1) - static_cast<T>(std::ldexp(1.0, -20)), SC_(1.04857642278181269259522681939281063878220298942888100442172e6) }},
}};
do_test_digamma<T>(digamma_bugs, name, "Digamma Function: Values near 0");
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk