CComplex.Comparison operatorsoperator
Compares complex numbers.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
OPERATOR = (BYREF z1 AS CComplex, BYREF z2 AS CComplex) AS BOOLEAN
OPERATOR <> (BYREF z1 AS CComplex, BYREF z2 AS CComplex) AS BOOLEAN
Description
Compares complex numbers for equality or inequality.
Example
DIM cpx1 AS CComplex = CComplex(1, 2) DIM cpx2 AS CComplex = CComplex(3, 4) IF cpx1 = cpx2 THEN PRINT "equal" ELSE PRINT "different"
Reference
- Include file
CComplex.inc - Documented in Numeric Datatypes/CComplex Class.md
- Topic: CComplex Class