omron — ATAN2 real-valued function

ATAN2 real-valued function ATAN2 real-valued function Syntax ATAN2 (value_1, value_2) Function Return the size of the angle (in degrees) that has its trigonometric tangent equal to value_ 1/value_2. Usage Considerations The returned value is zero if both parameter values are zero. Parameters value_1 Real-valued expression. value_2 Real-valued expression. Examples ATAN2(0.123,0.251) ;Returns 26.1067 ATAN2(-5.462,47.2) ;Returns -6.600926 ATAN2(1.3125E+2,-1.3) ;Returns -90.56748 slope = ATAN2(rise, run) 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 66