Compares two floating point values and returns if they are equal.
Namespace: FuzzyLogic
Delphi |
function FloatEquals( const v1, v2: TFzyFloat ): Boolean; |
Parameters
v1
Type: TFzyFloat
v2
Type: TFzyFloat
Type: Boolean
Unlike Delphi's = function, this function takes into account an "error" so that two values may equal even though they are not exactly equal. |
Reference |