ql/Math/comparison.hpp File Reference
Detailed Description
floating-point comparisons
#include <ql/types.hpp>
Include dependency graph for comparison.hpp:
Function Documentation
|
Follows somewhat the advice of Knuth on checking for floating-point equality. The closeness relationship is:
where is times the machine accuracy; equals 42 if not given. |
|
Follows somewhat the advice of Knuth on checking for floating-point equality. The closeness relationship is:
where is times the machine accuracy; equals 42 if not given. |
|