20#ifndef VOTCA_TOOLS_FLOATINGPOINTCOMPARISON_H
21#define VOTCA_TOOLS_FLOATINGPOINTCOMPARISON_H
46 T diff = std::abs(a - b);
47 if (diff <= tolerance) {
51 if (diff < std::max(std::abs(a), std::abs(b)) * tolerance) {
base class for all analysis tools