Method ExplainToleranceDelta
ExplainToleranceDelta(Single, Single)
returns a reasonable epsilon for comparing two floats, where minor differences are acceptable such as score vs. explain
Declaration
public static float ExplainToleranceDelta(float f1, float f2)
Parameters
Type | Name | Description |
---|---|---|
System.Single | f1 | |
System.Single | f2 |
Returns
Type | Description |
---|---|
System.Single |