Table of Contents

Field FloatEpsilon

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents the smallest positive value that can be added to 1.0f to produce a distinct value of type float.

public const float FloatEpsilon = 1.1920929E-07

Returns

float
Represents the smallest positive value that can be added to 1.0f to produce a distinct value of type .

Remarks

This constant is useful for comparisons and calculations that require a very small tolerance value to account for floating-point precision errors.