This struct provides a namespace for a suite of fuzzy (equality and relational) comparison functions on pairs of double values, parameterized by (optionally specified) relative and absolute tolerances. Note that all methods are naturally thread‐safe, and well‐behaved for all tolerance values.
Synopsis
Declared in <bdlb_doublecompareutil.h>
struct DoubleCompareUtil;
Enums
Name |
Description |
Enumeration of results from fuzzy comparison of two |
Static Member Functions
Static Data Members
Name |
Description |
Default absolute tolerance used by fuzzy comparison functions. |
|
Default relative tolerance used by fuzzy comparison functions. |
Created with MrDocs