Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » 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
Module: FoundationLite

Checks whether two reals are equal.

Syntax

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

Parameters

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