ql/math/comparison.hpp File Reference


Detailed Description

floating-point comparisons

#include <ql/types.hpp>
#include <boost/shared_ptr.hpp>

Include dependency graph for comparison.hpp:


Namespaces

namespace  QuantLib

Functions

bool close (Real x, Real y)
bool close (Real x, Real y, Size n)
bool close_enough (Real x, Real y)
bool close_enough (Real x, Real y, Size n)