Help Center

CArcSinRealfunction

Returns the complex arcsine of a real number.

Numeric DatatypesfunctionAfxComplex.incdocumented

Syntax

FUNCTION CArcSinReal (BYVAL value AS DOUBLE) AS _complex
Also documented as CASinReal — one description covers them all.

Parameters

NameDescription
valueA double value representing the real part of a complex number.

Description

Returns the complex arcsine of a real number.
For a between -1 and 1, the function returns a real value in the range \[-pi/2, pi/2].
For a less than -1 the result has a real part of -pi/2 and a positive imaginary part.
For a greater than 1 the result has a real part of pi/2 and a negative imaginary part.

Example

DIM z AS _complex = CArcSinReal(1) PRINT CStr(z) Output: 1.570796326794897 +0 * i

Reference

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