Back to Adaptive Vision Library website

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

TestRealEqualTo


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

Header:STD.h
Namespace:avl

Checks whether two reals are equal.

Syntax

void avl::TestRealEqualTo
(
	float inValue,
	float inReferenceValue,
	float inEpsilon,
	bool& outIsEqual
)

Parameters

Name Type Default Description
inValue float Input Real value
inReferenceValue float Input reference Real value to compare input Real value against
inEpsilon float 0.001f Maximum difference between input Real value and input reference Real value for them to still be considered equal
outIsEqual bool& Flag indicating whether two input Real values are equal