Atan

atan

Description:
Function atan calculates the arctangent of the specified value.


Parameters:
(Float:value)
float value The value from which to find the arctangent.


Return Values:
Arctangent from, in degrees value.


Examples:
main()
{
	// atan(1) = pi / 4 = 45°
	new Float: result = atan(1.0);
	printf("%.4f", result); // Output: 44.9999
}


Related Functions
The following functions may be useful, as they are related to this function in one way or another.
  • asin: Calculates arksinus from the specified value.
  • acos: Calculates the arctangent of the specified value.
  • atan2: Calculates the arctangent from the coordinates of a point.
  • floatsin: Calculates the sine of an angle.
  • floatcos: Calculates the cosine of the angle.
  • floattan: Calculates the tangent of an angle.