|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-10-01 06:24:16
Author: johnmaddock
Date: 2007-10-01 06:24:11 EDT (Mon, 01 Oct 2007)
New Revision: 39637
URL: http://svn.boost.org/trac/boost/changeset/39637
Log:
Added some more trace messages.
Text files modified:
sandbox/math_toolkit/boost/math/special_functions/ellint_1.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: sandbox/math_toolkit/boost/math/special_functions/ellint_1.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/special_functions/ellint_1.hpp (original)
+++ sandbox/math_toolkit/boost/math/special_functions/ellint_1.hpp 2007-10-01 06:24:11 EDT (Mon, 01 Oct 2007)
@@ -37,6 +37,9 @@
using namespace boost::math::constants;
static const char* function = "boost::math::ellint_f<%1%>(%1%,%1%)";
+ BOOST_MATH_INSTRUMENT_VARIABLE(phi);
+ BOOST_MATH_INSTRUMENT_VARIABLE(k);
+ BOOST_MATH_INSTRUMENT_VARIABLE(function);
if (abs(k) > 1)
{
@@ -76,6 +79,7 @@
// but that fails if T has more digits than a long long,
// so rewritten to use fmod instead:
//
+ BOOST_MATH_INSTRUMENT_CODE("pi/2 = " << constants::pi<T>() / 2);
T rphi = fmod(phi, constants::pi<T>() / 2);
BOOST_MATH_INSTRUMENT_VARIABLE(rphi);
T m = 2 * (phi - rphi) / constants::pi<T>();
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