![]() |
ATLAS Offline Software
|
#include <iostream>#include <cassert>#include <cfloat>#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | Athena_test |
| functions & macros to test the difference between floats | |
Macros | |
| #define | FLOAT_NEQassert(LHS, RHS) |
| #define | FLOAT_EQassert(LHS, RHS) |
Functions | |
| bool | Athena_test::floatEQ (float lhs, float rhs) |
| bool | Athena_test::floatNEQ (float lhs, float rhs) |
| bool | Athena_test::isEqual (double x1, double x2, double thresh=1e-6) |
| #define FLOAT_EQassert | ( | LHS, | |
| RHS ) |
Definition at line 40 of file FLOATassert.h.
| #define FLOAT_NEQassert | ( | LHS, | |
| RHS ) |
Definition at line 39 of file FLOATassert.h.