Changeset 1234 for trunk/test/Suite.h
- Timestamp:
- Mar 15, 2008, 5:00:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/Suite.h
r1232 r1234 54 54 55 55 /** 56 \return true if \f$ |a-b| <= N * \epsilon * min(|a|,|b|) \f$ 57 where \f$ \epsilon \f$ is std::numeric_limits<double>().epsilon() 58 */ 59 bool equal(double a, double b, unsigned int N=1); 60 61 double last_error_bound(void) const; 62 63 /** 56 64 \return true if test is ok 57 65 */ … … 77 85 bool ok_; 78 86 std::ofstream* dev_null_; 87 double last_error_bound_; 79 88 80 89 }; 81 82 /**83 \return true if \f$ |a-b| <= N * \epsilon * min(|a|,|b|) \f$84 where \f$ \epsilon \f$ is std::numeric_limits<double>().epsilon()85 */86 bool equal(double a, double b, unsigned int N=1);87 90 88 91 }}}
Note: See TracChangeset
for help on using the changeset viewer.