Help Center

CArcTanfunction

Returns the complex arctangent of a complex number.

Numeric DatatypesfunctionAfxComplex.incdocumented

Syntax

FUNCTION CArcTan (BYREF value AS _complex) AS _complex
Also documented as CATan — one description covers them all.

Description

Returns the complex arctangent of a complex number. The branch cuts are on the imaginary axis, below -i and above i.

Example

DIM z AS _complex = (1, 1) z = CArcTan(z) PRINT CStr(z) Output: 1.017221967897851 +0.4023594781085251 * i

Reference

  • Include file AfxComplex.inc
  • Defined in AfxNova/AfxComplex.inc:1162
  • Documented in Numeric Datatypes/Complex Numbers Procedures.md
  • Topic: Complex Numbers Procedures