[#BloombergLP-bdlb-DoubleCompareUtil-fuzzyLe-097]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/DoubleCompareUtil.adoc[DoubleCompareUtil]::fuzzyLe
:relfileprefix: ../../../
:mrdocs:

Return `true` if the specified `a` and `b` satisfy the fuzzy less&hyphen;equal relation (denoted &quot;a &#126;le b&quot;) as defined by the expression&colon; &grave; fuzzyCompare(a, b, relTol, absTol) &equals;&equals; e&lowbar;LESS&lowbar;THAN or &equals;&equals; e&lowbar;EQUAL &grave; and `false` otherwise&period; Optionally specify the relative tolerance `relTol`, or `relTol` and the absolute tolerance `absTol`, used to determine fuzzy less&hyphen;equal&period; If an optional tolerance argument is not specified, a reasonable (implementation&hyphen;dependent) default value for that tolerance is used&period; Note that if either `absTol` or `relTol` is 0&period;0, that aspect of fuzzy comparison is effectively suppressed, but the behavior of this function is defined&period; The behavior is undefined unless both &apos;relTol` and `absTol&grave; are non&hyphen;negative, finite numbers (which excludes NaN and infinity)&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;doublecompareutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
fuzzyLe(
    double a,
    double b);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
