|
ALPSCore reference
|
#include <cmath>#include <float.h>

Go to the source code of this file.
Namespaces | |
| alps | |
| alps::testing | |
Functions | |
| template<typename T > | |
| bool | alps::testing::is_near (const T a, const T b, const T eps) |
| Compares two floating point values, see http://floating-point-gui.de/errors/comparison/. More... | |
| template<typename T > | |
| bool | alps::testing::is_near (const T a, const T b) |
| Compares two floating point values, see http://floating-point-gui.de/errors/comparison/. More... | |
Utilities for comapring floating point numbers in tests
Definition in file fp_compare.hpp.
1.8.11