Calculate the arc tangent of the argument. (answer in radians)
n - the value (converted to a double) to apply this function to.
A double scalar.
$value = atan(1); println("arctangent of 1 is $value radians"); $value = degrees(atan(1)); println("arctangent of 1 is $value degrees");
arctangent of 1 is 0.7853981633974483 radians arctangent of 1 is 45.0 degrees