You are here: Symbol Reference > Math387 Namespace > Functions > Math387.Equal Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.Equal Function

Compares two numbers.

Pascal
function Equal(const A: TCplx; const B: TCplx; const Tolerance: double): boolean; overload;

true, if A and B are equal within a given Tolerance: 

(abs(A.Re - B.Re) <= Tolerance) and (abs(A.Im - B.Im) <= Tolerance)

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!