Back to Adaptive Vision Library website

You are here: Start » Function Reference » Real » TestDoubleEqualTo

TestDoubleEqualTo


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Checks whether two doubles are equal.

Syntax

void avl::TestDoubleEqualTo
(
	const atl::real64& inValue,
	const atl::real64& inReferenceValue,
	const atl::real64& inEpsilon,
	bool& outIsEqual
)

Parameters

Name Type Default Description
inValue const real64&
inReferenceValue const real64&
inEpsilon const real64& 0.001D Maximum difference of values that are still considered equal
outIsEqual bool&