ACOS real-valued function ACOS real-valued function Syntax ACOS (value) Function Return the size of the angle (in degrees) that has its trigonometric cosine equal to value. Usage Considerations The value parameter must be in the range of -1.0 to +1.0. Any value outside this range will cause the error *Illegal value*. Parameter value Real-valued expression that defines the cosine value to be considered. Details Returns the inverse cosine (arccosine) of the argument, which is assumed to be in the range of -1.0 to +1.0. The resulting value is always in the range of 0.0 to +180.0, inclusive.
Examples ACOS(0) ;Returns 90 ACOS(-1) ;Returns 180 ACOS(0.1) ;Returns 84.2608295 ACOS(0.5) ;Returns 60 NOTE: TYPE, PROMPT, and similar instructions output the results of the above examples as single-precision values. However, they are actually stored and manipulated as double- precision values. The LISTR monitor command will display real values to full precision. eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 54