arcsin
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
double arcsin(double x);
Function
Calculates arcsine of x.
Parameters
x Value between –1 and 1 whose arcsine is to be calculated. Values outside this range cause a CAPLruntime error.
Return Values
Arcus Sine of x.
Reference example from the CANoe 12 help. Check the required configuration, database objects and API availability in your installed version; this is not a recorded compiler or runtime test.
double x;
x = arcsin(1); // result PI/2
x = arcsin(0); // result 0
Related APIs
arccos | arctan