[#BloombergLP-bdlb-DoubleCompareUtil-fuzzyEq-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/DoubleCompareUtil.adoc[DoubleCompareUtil]::fuzzyEq
:relfileprefix: ../../../
:mrdocs:

`fuzzyEq` overloads

== Synopses

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

Return whether `a` and `b` satisfy fuzzy equality&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlb/DoubleCompareUtil/fuzzyEq-0a.adoc[fuzzyEq](
    double a,
    double b);
----

[.small]#xref:BloombergLP/bdlb/DoubleCompareUtil/fuzzyEq-0a.adoc[_» more&period;&period;&period;_]#

See the overload above for contract&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlb/DoubleCompareUtil/fuzzyEq-02.adoc[fuzzyEq](
    double a,
    double b,
    double relTol);
----

[.small]#xref:BloombergLP/bdlb/DoubleCompareUtil/fuzzyEq-02.adoc[_» more&period;&period;&period;_]#

See the overload above for contract&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlb/DoubleCompareUtil/fuzzyEq-04.adoc[fuzzyEq](
    double a,
    double b,
    double relTol,
    double absTol);
----

[.small]#xref:BloombergLP/bdlb/DoubleCompareUtil/fuzzyEq-04.adoc[_» more&period;&period;&period;_]#

== Return Value

`true` if `a` and `b` satisfy fuzzy equality

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| first value to compare
| *b*
| second value to compare
| *relTol*
| relative tolerance for fuzzy equality
| *absTol*
| absolute tolerance for fuzzy equality
|===


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