$asin

Return the arc sine of X.

$asin(X)

Example: vResult = $asin(1 / 2)

Parameters

X—numeric value in the range -1 through 1, inclusive.

Return Values

Calculated arc sine value.

If an error occurs, $procerror contains a negative value that identifies the exact error.

Values of $procerror Commonly Returned Following this Function
Value  Error constant `
-1203 <UPROCERR_RANGE> Value out of range.

Use

Allowed in all component types.

Description

The function $asin calculates the arc sine of X, that is, it returns that angle, in radians, whose sine ($sin) is X.

The following example returns the arc sine of the given expression:

vResult = $asin(1 / 2)

Related Topics