fuzzyGt overloads

Synopses

Declared in <bdlb_doublecompareutil.h>

Return whether a is fuzzy greater‐than b.

static
bool
fuzzyGt(
    double a,
    double b);

See the overload above for contract.

static
bool
fuzzyGt(
    double a,
    double b,
    double relTol);

See the overload above for contract.

static
bool
fuzzyGt(
    double a,
    double b,
    double relTol,
    double absTol);

Return Value

true if a is fuzzy greater‐than b

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