Changeset 1247 for trunk/test/Suite.h


Ignore:
Timestamp:
Mar 17, 2008, 3:54:10 PM (14 years ago)
Author:
Peter
Message:

refs #223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Suite.h

    r1244 r1247  
    5959    bool equal(double a, double b, unsigned long int N=1);
    6060
     61    /**
     62       \return true if \f$ |a-b| <= N * sqrt(\epsilon) * min(|a|,|b|) \f$
     63       where \f$ \epsilon \f$ is std::numeric_limits<double>().epsilon()
     64    */
     65    bool equal_sqrt(double a, double b, unsigned long int N=1);
     66
    6167    template<typename Iterator1, typename Iterator2>
    6268    bool equal_range(Iterator1 first1, Iterator1 last1, Iterator2 first2,
Note: See TracChangeset for help on using the changeset viewer.