Version: 2017.2

FloatComparer.AreEqualRelative

Switch to Manual
public static bool AreEqualRelative (float expected, float actual, float error);

Parameters

expected Expected value.
actual Actual value.
error Comparison error.

Returns

bool Result of the comparison.

Description

Performs equality check with relative error check.