Compute arc tangent.
Computes the principal value of the arc tangent of x, expressed in radians. In trigonometrics, arc tangent is the inverse operation of tangent. Notice that because of the sign ambiguity, a function cannot determine with certainty in which quadrant the angle falls only by its tangent value. You can use atan2() if you need to determine the quadrant.
- See Also
- atan2()
- Parameters
-
- Returns
- Arc tangent of x, in the interval [-pi/2,+pi/2] radians.
- Warning
- This function requires the enhanced NBC/NXC firmware.
- Examples:
- ex_atan.nxc.