// This file tests the inverse hyperbolic functions. There are two sets of tests:
// 1) Sanity checks: comparison to test values created with the
// online calculator at functions.wolfram.com
-// 2) Accuracy tests use values generated with NTL::RR at
+// 2) Accuracy tests use values generated with NTL::RR at
// 1000-bit precision and our generic versions of these functions.
//
// Note that when this file is first run on a new platform many of
// these tests will fail: the default accuracy is 1 epsilon which
-// is too tight for most platforms. In this situation you will
+// is too tight for most platforms. In this situation you will
// need to cast a human eye over the error rates reported and make
// a judgement as to whether they are acceptable. Either way please
// report the results to the Boost mailing list. Acceptable rates of
".*", // test data group
".*", 4, 1); // test function
- std::cout << "Tests run with " << BOOST_COMPILER << ", "
+ std::cout << "Tests run with " << BOOST_COMPILER << ", "
<< BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl;
}
// test asinh(T) against data:
//
using namespace std;
- typedef typename T::value_type row_type;
typedef Real value_type;
std::cout << test_name << " with type " << type_name << std::endl;
// test acosh(T) against data:
//
using namespace std;
- typedef typename T::value_type row_type;
typedef Real value_type;
std::cout << test_name << " with type " << type_name << std::endl;
// test atanh(T) against data:
//
using namespace std;
- typedef typename T::value_type row_type;
typedef Real value_type;
std::cout << test_name << " with type " << type_name << std::endl;
{
std::cout << "Testing basic sanity checks for type " << t << std::endl;
//
- // Basic sanity checks, tolerance is either 5 or 10 epsilon
+ // Basic sanity checks, tolerance is either 5 or 10 epsilon
// expressed as a percentage:
//
T tolerance = boost::math::tools::epsilon<T>() * 100 *
"not available at all, or because they are too inaccurate for these tests "
"to pass.</note>" << std::endl;
#endif
-
-}
-
-
+}