~barry/ubuntu/precise/boost1.46/debian-merge

« back to all changes in this revision

Viewing changes to libs/math/test/acosh_test.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2011-03-13 00:37:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110313003735-r7j6jdk0hkywfzuw
Tags: 1.46.1-1
* New upstream.

* control: Add libboost-random1.46-dev to depends of -all-dev and
  suggests of -dev.  Closes: #615849.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
            (acosh_error_evaluator(x))
56
56
            (static_cast<T>(4)));
57
57
    }
 
58
    // special cases for bug report: https://svn.boost.org/trac/boost/ticket/5113
 
59
    T x = 1e-2f;
 
60
    BOOST_CHECK_PREDICATE(::std::less_equal<T>(),
 
61
       (acosh_error_evaluator(x))
 
62
       (static_cast<T>(4)));
 
63
    x = 1e-3f;
 
64
    BOOST_CHECK_PREDICATE(::std::less_equal<T>(),
 
65
       (acosh_error_evaluator(x))
 
66
       (static_cast<T>(4)));
 
67
    x = 1e-4f;
 
68
    BOOST_CHECK_PREDICATE(::std::less_equal<T>(),
 
69
       (acosh_error_evaluator(x))
 
70
       (static_cast<T>(4)));
 
71
    x = 1e-5f;
 
72
    BOOST_CHECK_PREDICATE(::std::less_equal<T>(),
 
73
       (acosh_error_evaluator(x))
 
74
       (static_cast<T>(4)));
 
75
    x = 1e-6f;
 
76
    BOOST_CHECK_PREDICATE(::std::less_equal<T>(),
 
77
       (acosh_error_evaluator(x))
 
78
       (static_cast<T>(4)));
58
79
}
59
80
 
60
81