2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 07:02:08 +00:00

Some minor tweaks to support Sun's compiler on Linux.

[SVN r40678]
This commit is contained in:
John Maddock
2007-11-02 08:59:24 +00:00
parent 2426ea735d
commit d112d855f2
3 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ template <class RealType>
void test_spots(RealType)
{
// Basic sanity checks
RealType tolerance = static_cast<RealType>(std::pow(10., -(4-2))); // 1e-4 (as %)
RealType tolerance = 1e-2f; // 1e-4 (as %)
// Some tests only pass at 1e-4 because values generated by
// http://faculty.vassar.edu/lowry/VassarStats.html
// give only 5 or 6 *fixed* places, so small values have fewer digits.