fuzzyEq overloads
Synopses
Declared in <bdlb_doublecompareutil.h>
Return whether a and b satisfy fuzzy equality.
static
bool
fuzzyEq(
double a,
double b);
See the overload above for contract.
static
bool
fuzzyEq(
double a,
double b,
double relTol);
See the overload above for contract.
static
bool
fuzzyEq(
double a,
double b,
double relTol,
double absTol);
Return Value
true if a and b satisfy fuzzy equality
Parameters
Name |
Description |
a |
first value to compare |
b |
second value to compare |
relTol |
relative tolerance for fuzzy equality |
absTol |
absolute tolerance for fuzzy equality |
Created with MrDocs